mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix bracket-fixup error.
This commit is contained in:
parent
210ad8d20a
commit
475a5eb899
@ -112,7 +112,7 @@ class UnBinary(object):
|
|||||||
AMPERSAND_RE = re.compile(
|
AMPERSAND_RE = re.compile(
|
||||||
r'&(?!(?:#[0-9]+|#x[0-9a-fA-F]+|[a-zA-Z_:][a-zA-Z0-9.-_:]+);)')
|
r'&(?!(?:#[0-9]+|#x[0-9a-fA-F]+|[a-zA-Z_:][a-zA-Z0-9.-_:]+);)')
|
||||||
OPEN_ANGLE_RE = re.compile(r'<<(?![!]--)')
|
OPEN_ANGLE_RE = re.compile(r'<<(?![!]--)')
|
||||||
CLOSE_ANGLE_RE = re.compile(r'(?<!--)>>')
|
CLOSE_ANGLE_RE = re.compile(r'(?<!--)>>(?=>>|[^>])')
|
||||||
DOUBLE_ANGLE_RE = re.compile(r'([<>])\1')
|
DOUBLE_ANGLE_RE = re.compile(r'([<>])\1')
|
||||||
|
|
||||||
def __init__(self, bin, path, manifest={}, map=HTML_MAP):
|
def __init__(self, bin, path, manifest={}, map=HTML_MAP):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user