Fix: '.md' to '.html' with anchors (fixes #1415)

Eh it was more for my understanding than anything. Requested action?