multiplatform-markdown-renderer
multiplatform-markdown-renderer copied to clipboard
Reference links parsing breaks [] text
Currently if I have a markdown text with double [] such as
[This should work][This is not a link] this is just text
Yada yadada
The end
The library assumes it's a reference link when parsing causing the output to be wrong and it becomes a clickable link to nothing.
Not certain if that's something which may be handled wrong (or is supposed to be that way (?)) from the underlying markdown parsing library
https://github.com/JetBrains/markdown
Yea I saw it was also getting tagged wrong(?). I don't know if other parsers like GitHub tag it then ignore it when there is no reference. Or what exactly.
I assumed the parsing was correct, and as attempted to check destination null and link label was not null. Then checking if the linkreferencehandler store had a valid entry however that isn't filled in until after the parsing.