Edit book: Use <s> instead of <strike>

This commit is contained in:
Kovid Goyal 2022-12-11 08:49:40 +05:30
parent 5d1bf9c24a
commit 7fb6e0971d
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>'),
'italic': ('<i>', '</i>'),
'underline': ('<u>', '</u>'),
'strikethrough': ('<strike>', '</strike>'),
'strikethrough': ('<s>', '</s>'),
'superscript': ('<sup>', '</sup>'),
'subscript': ('<sub>', '</sub>'),
'color': ('<span style="color: %s">' % color, '</span>'),