mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add a bug reference
This commit is contained in:
parent
747b08689e
commit
752aaab533
@ -635,7 +635,7 @@ def decoded_range_to_document_position(decoded):
|
|||||||
inserted_node = None
|
inserted_node = None
|
||||||
if not rect.width and not rect.height and not rect.left and not rect.right:
|
if not rect.width and not rect.height and not rect.left and not rect.right:
|
||||||
# this happens is range is a text node containing a newline after a
|
# this happens is range is a text node containing a newline after a
|
||||||
# <br>
|
# <br> https://bugs.launchpad.net/bugs/1944433
|
||||||
inserted_node = document.createTextNode('\xa0')
|
inserted_node = document.createTextNode('\xa0')
|
||||||
decoded.range.insertNode(inserted_node)
|
decoded.range.insertNode(inserted_node)
|
||||||
rect = decoded.range.getBoundingClientRect()
|
rect = decoded.range.getBoundingClientRect()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user