Make the execrable epubcheck happy

This commit is contained in:
Kovid Goyal 2022-12-18 07:26:13 +05:30
parent b292148d86
commit 0f75c185b7
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -865,7 +865,7 @@ class TextEdit(PlainTextEdit):
'bold': ('<b>', '</b>'), 'bold': ('<b>', '</b>'),
'italic': ('<i>', '</i>'), 'italic': ('<i>', '</i>'),
'underline': ('<u>', '</u>'), 'underline': ('<u>', '</u>'),
'strikethrough': ('<s>', '</s>'), 'strikethrough': ('<span style="text-decoration: line-through">', '</span>'),
'superscript': ('<sup>', '</sup>'), 'superscript': ('<sup>', '</sup>'),
'subscript': ('<sub>', '</sub>'), 'subscript': ('<sub>', '</sub>'),
'color': ('<span style="color: %s">' % color, '</span>'), 'color': ('<span style="color: %s">' % color, '</span>'),