Quote:
Originally Posted by underblue
Product:
Libra 2
Firmware:
4.1.15
File types:
kepub
Sideloaded or from Kobobooks:
Sideloaded
Steps to reproduce:
1. Load a KEPUB onto the Kobo Libra 2.
2. Navigate to a section, preferably poetry, where text lines are followed by newline characters (empty line or space between paragraphs).
3. Attempt to select text that ends at the very end of a line immediately before a newline character.
4. Observe the behavior of the text selection, especially in lines containing the `<span class="koboSpan">` element.
5. For comparison, attempt the same selection on lines without the `<span class="koboSpan">` element.
6. Additionally, note the presence of the `<br/>` tag in the HTML used for creating spaces between paragraphs.
Current result:
- When selecting text ending at a line before a newline character, the selection unexpectedly expands to cover the entire content of the book, starting from the initial point of selection.
- This behavior causes the Kobo Libra 2 device to freeze and eventually crash.
- Lines containing the `<span class="koboSpan">` element trigger this behavior, while lines without it do not. However, lines without this element also do not support highlighting functionality.
- The presence of the `<br/>` tag in the HTML seems to be the problem.
Workaround:
Using CSS for spacing instead of the `<br/>` tag has shown to mitigate the issue. But I can't edit every kepub to avoid <br/>.
|
You may want to try the latest Libra 2 firmware.