To avoid "Reverse Tabnabbing", I have added rel="noopener noreferrer" in all anchor tags in my Thymeleaf based application which is having target="_blank", but Thymeleaf is throwing exception as "Element type "a" must be followed by either attribute specifications, "<>" or "/>".
Can anybody suggest how to add rel attribute so that Thymeleaf should except it in anchor tags ? Thanks in advance.
Anchor tag in code :
<a href="http://www.something.com/" id="url" title="Visit http://www.something.com/" target="_blank" rel="noopener noreferrer">Next</a>