Can't highlight text that contains code syntax
I'm reading programming books on my Kobo Libra H2O and having issues with the highlighting. Whenever I highlight a sentence with a programming/code syntax, my highlight disappears when I click somewhere else on the page.
At first, I only noticed it on code blocks and thought it was related to <pre> blocks, although I'm not sure if ebooks contain those. Then I stumbled upon this sentence that had the same issue:
"However, while id and type should be familiar from native HTML, htmlFor might be new to you."
I can't tell if these keywords just have a different font or if they are using some other hidden markup. I played around with the reading font on the device and got it to show the whole sentence in the same font. It inhibits the reading experience a bit since I can't distinguish the keywords but solves the highlighting issue I had with that specific sentence.
Unfortunately, the code blocks still have the same issue.
Is there any workaround to this?
|