mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #7118 (Problem with MSWord HTML/CSS comments and Smart Punct combo)
This commit is contained in:
parent
23461c99b9
commit
00f358b17e
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user