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 - http://bit.ly/ItcThN" target="_blank" rel="noopener noreferrer">Next
Aucun commentaire:
Enregistrer un commentaire