mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-06 03:05:31 +01:00
Fix #7118 (Problem with MSWord HTML/CSS comments and Smart Punct combo)
This commit is contained in:
parent
23461c99b9
commit
00f358b17e
1 changed files with 2 additions and 1 deletions
|
|
@ -376,7 +376,8 @@
|
|||
|
||||
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…
Reference in a new issue