Links that are modified by the New Window Warning plugin contain an <i> tag, which highlighted the possible header check was checking the containing tags incorrectly. This PR updates it to check if the tag wraps the entire text instead of simply checking it exists inside the scanned node.
Links that are modified by the New Window Warning plugin contain an
<i>
tag, which highlighted the possible header check was checking the containing tags incorrectly. This PR updates it to check if the tag wraps the entire text instead of simply checking it exists inside the scanned node.Fixes: #652