Fix for HTML validation errors on closing <a> tags

Resolves html validation errors: "Self-closing syntax (/>) used on a non-void HTML element".
Links were rendered as <a href="index.php"/>Some link</a>