Search highlighting breaks links
See original GitHub issueDescription
Search highlighting breaks links in reply messages
Steps to reproduce
- Send a message with a link for example:
https://github.com/vector-im/element-web. - Reply anything to the link message.
- Search for the message with the link for example with the keyword
web. - Click the link.
- The opened link does not include the part
webhighlighted by the search:https://github.com/vector-im/element-and is broken.
- I found this bug only in reply messages but did not do an extensive search. It might happen elsewhere too.
Version information
-
Platform: web (in-browser) or desktop? Windows 10 desktop
-
For the desktop app: Element version: 1.7.25 olm version: 3.2.1
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Search results highlight breaks my read more link
I found the way to do it on this thread: How to highlight search terms without plugin and it worked wonderfully. However, it...
Read more >A one-line solution to highlighting search matches - bitsofcode
One-line match highlighting ... Here's the solution I came up with: const term; // search query we want to highlight in results const...
Read more >Highlighting of text does not work correctly
Highlighting of text does not work correctly. When I attempt to highlight text and hold down the mouse button at where I want...
Read more >JQuery search in static page of links with highlighting of found ...
JQuery search in static page of links with highlighting of found word without breaking list · Try plugin such as bartaz.github.io/sandbox.js/jquery.highlight.
Read more >How to find and fix broken links in Excel - Ablebits
This tutorial will teach you 3 easy ways to find and fix broken Excel links, plus our own one-click solution as an extra...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Could you open a new issue for that, please?
Linkification happens after highlighting, which is backwards, affects both html & plain messages