mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
05eb665be9
commit
b37ce63c86
@ -113,6 +113,7 @@ def wrap_text_in_range(style, r, process_wrapper):
|
||||
wrapper_elem = document.createElement('span')
|
||||
wrapper_elem.dataset.calibreRangeWrapper = v'++wrapper_counter' + ''
|
||||
if style:
|
||||
style = style.rstrip()
|
||||
if !style.endsWith(';'):
|
||||
style += ';'
|
||||
style = str.replace(style, ';', ' !important;')
|
||||
|
Loading…
x
Reference in New Issue
Block a user