Fix to prevent anchor links added by header formatters from triggering a...

@smason Please review and merge