From 752aaab533c379e8cf79f973ddc5d1e4462072a4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 21 Sep 2021 22:44:36 +0530 Subject: [PATCH] Add a bug reference --- src/pyj/read_book/cfi.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()