@Rob SD detects against HTML generated by SE from Markdown. If there are
HTML tags in the Markdown, then attribute order is enforced, which if not followed will result in the HTML tag being stripped prior to SD seeing it. Thus, it's not possible for the
title
to proceed the
href
, thus we don't test for it and use a regex that only looks for enough information to make it very likely that it's an actual
<a>
tag.
example