mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 21:53:29 +02:00
...
This commit is contained in:
parent
1f79b14973
commit
14f2668c26
1 changed files with 3 additions and 1 deletions
|
|
@ -441,7 +441,9 @@ class XMLHighlighter(HTMLHighlighter):
|
|||
|
||||
state_map = xml_state_map
|
||||
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):
|
||||
return name in xml_spell_tags
|
||||
|
|
|
|||
Loading…
Reference in a new issue