Accepts some special characters in name and href.

Converts name and href to html entities to allow characters like &
(&amp;), useful for links with multiple query parameters.