milesj / interweave

🌀 React library to safely render HTML, filter attributes, autowrap text with matchers, render emoji characters, and much more.
https://interweave.dev
MIT License
1.1k stars 38 forks source link

colons in hash part break links #259

Open matthiasabele opened 1 year ago

matthiasabele commented 1 year ago

I am using interweave for a project, unfortunately any colon in the hash part of an URL breaks the URL detection:

works: http://test.com/normal:colon

doesn't work: http://test.com/#hash:colon

immagine

mattfelten commented 8 months ago

I ran into this today too. +1