Closed decause closed 8 years ago
http://tasti.github.io/react-linkify/
Via @dxa4481
This is a potential XSS vector, so library++
<a href="javascript:alert(1)"></a>
On it.
react-linkify uses markdown-it/linkify-it behind the scenes; some quick XSS testing later, it looks like it'll be OK (but more people banging on it on the security side is always a good idea)
There are libraries (even react libraries) that help with this.