diff --git a/src/pyj/read_book/cfi.pyj b/src/pyj/read_book/cfi.pyj index 13500cebd6..5ea5b2459a 100644 --- a/src/pyj/read_book/cfi.pyj +++ b/src/pyj/read_book/cfi.pyj @@ -635,7 +635,7 @@ def decoded_range_to_document_position(decoded): inserted_node = None 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 - #
+ #
https://bugs.launchpad.net/bugs/1944433 inserted_node = document.createTextNode('\xa0') decoded.range.insertNode(inserted_node) rect = decoded.range.getBoundingClientRect()