Fixed positioning of anchor tags for consistency

This is required to parse markdown files with other parsers