Fix internal links in mardown readme rendering to HTML
When a mardown readme file contains internal links to files or directories reachable from the directory the readme file is located
href
values of those links in HTML generated by the showdown.js
library are invalid and lead to 404 errors.
See for instance the links to internal files in the readme of this origin.
Those invalid links should be fixed by parsing the generated HTML and modifying them to valid URLs.
Migrated from T4331 (view on Phabricator)
Edited by Antoine Lambert