Address review comment https://critic.hoppipolla.co.uk/showcomment?chain=7622 .
Test stray end tags as well as HTML tags that do not break out in the fragmen case.