mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
1f79b14973
commit
14f2668c26
@ -441,7 +441,9 @@ class XMLHighlighter(HTMLHighlighter):
|
|||||||
|
|
||||||
state_map = xml_state_map
|
state_map = xml_state_map
|
||||||
spell_attributes = ('opf:file-as',)
|
spell_attributes = ('opf:file-as',)
|
||||||
create_formats_func = partial(create_formats, add_css=False)
|
|
||||||
|
def create_formats_func(self):
|
||||||
|
return create_formats(self, add_css=False)
|
||||||
|
|
||||||
def tag_ok_for_spell(self, name):
|
def tag_ok_for_spell(self, name):
|
||||||
return name in xml_spell_tags
|
return name in xml_spell_tags
|
||||||
|
Loading…
x
Reference in New Issue
Block a user