Hi, I am using react-quilljs in an SSR environment with next.js. I found that the links are being generated will rel and target attributes added. I need a behavior where the user remains in the same tab when they click the link.
Any quick idea how I can sanitize links and remove these attributes on the fly.
Hi, I am using react-quilljs in an SSR environment with next.js. I found that the links are being generated will rel and target attributes added. I need a behavior where the user remains in the same tab when they click the link. Any quick idea how I can sanitize links and remove these attributes on the fly.
<a href="/hashtag/hello" rel="noopener noreferrer" target="_blank"> #hello </a>
Thanks!