Broken highlighting with code tags
complete
a
adrianskar
Highlights are broken when they involve an HTML code tag;
Tested on first paragraphs at https://developer.mozilla.org/en-US/docs/Web/CSS/Replaced_element and https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit
Initially they look as expected but, after a refresh, there's a block covering the highlighted content.
Versions: Firefox 114, Windows 10, Raindrop extension 5.6.2
Log In
Canny AI
Merged in a post:
Wrong highlighted text on MDN page
A
Adrian Skar
When highlighting the text 'string' or 'A string' in the value section of https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttribute#parameters
it instead highlights the previous match within the name section.
Rustem Mussabekov
complete
B. Libbrecht
I noticed this too, but I find it a cool feature (the phrase we wanted is highlighted, after all). But I admit it was disturbing at first. It is unusual.