Fix #7118 (Problem with MSWord HTML/CSS comments and Smart Punct combo)

This commit is contained in:
Kovid Goyal 2010-10-17 14:16:44 -06:00
parent 23461c99b9
commit 00f358b17e

View File

@ -376,7 +376,8 @@ default_smartypants_attr = "1"
import re
tags_to_skip_regex = re.compile(r"<(/)?(pre|code|kbd|script|math)[^>]*>", re.I)
# style added by Kovid
tags_to_skip_regex = re.compile(r"<(/)?(style|pre|code|kbd|script|math)[^>]*>", re.I)
def verify_installation(request):