Closed pattonwebz closed 1 week ago
@pattonwebz, should this pass or fail?
<a href="https://example.com"><u>This is a link with underline</u></a>
@pattonwebz, should this pass or fail?
<a href="https://example.com"><u>This is a link with underline</u></a>
Probably fail, all u
tags should fail
This PR adds some checks in the 'matches' value of the underlined_text rule definition. The check are on the parent node (as high as 3 levels) for anchors and if it finds one won't check to flag an underline since flagging them if inside anchors is a false positive.
Closes: #688