Fix of the parsing when the url ends with an hash

See https://github.com/Thiht/markdown-viewer/issues/4