Closed Et7f3 closed 4 years ago
You just found a bug in the link rendering logic, thanks.
Right now, the markdown renderer is removing all occurrences of .md(x)?$
in each link, this regex fails on anchored links, such as in this example: /docs/.../object.md#tip-tricks
.
Will fix that
I thought adef6f3 helped to prevent that.
Yes it should, but the verification logic correctly strips away the .md from anchored links, since it has access to Node's path.parse
function (which does the pathname extraction for you)
Tackling the old .md problem in #108
screenshot from reasonml.org:
and from reasonml.github.io:
Also I was able to trigger a 404 error when clicking on the
here
I thought https://github.com/reason-association/reasonml.org/commit/adef6f32d93defbbc40d96cf39467112580f599e helped to prevent that.