Fix header link rendering when containing numbers
This fixes the problem where Markdown such as:
### 31st
Would get rendered as a link tag pointing to issue number 31 inside a header tag.
See gitlab-org/gitlab-ce#14936 for more information.
cc @rspeicher