Anchor tag not correctly closed