mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
...
This commit is contained in:
parent
4fd6fa2441
commit
9a88afb370
@ -195,9 +195,9 @@ def replace_calibre_links_to_books(html):
|
|||||||
link.href = new_href
|
link.href = new_href
|
||||||
changed = True
|
changed = True
|
||||||
)
|
)
|
||||||
if not changed:
|
if changed:
|
||||||
return html
|
return v'new XMLSerializer().serializeToString(dom);'
|
||||||
return v'new XMLSerializer().serializeToString(dom);'
|
return html
|
||||||
|
|
||||||
|
|
||||||
def adjusting_sandboxed_html(html, extra_css):
|
def adjusting_sandboxed_html(html, extra_css):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user