This commit is contained in:
Kovid Goyal 2025-01-10 13:32:08 +05:30
parent 4fd6fa2441
commit 9a88afb370
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -195,9 +195,9 @@ def replace_calibre_links_to_books(html):
link.href = new_href
changed = True
)
if not changed:
return html
return v'new XMLSerializer().serializeToString(dom);'
if changed:
return v'new XMLSerializer().serializeToString(dom);'
return html
def adjusting_sandboxed_html(html, extra_css):