Test if anchor has href attribute before converting it

It is valid HTML to have anchor without href attribute.

Closes #12134 (closed)

Merge request reports

Loading