marked
marked copied to clipboard
Rendering Error - Illegal Character
When trying to render the following Markdown page from github, marked throws an error:
URL: https://raw.githubusercontent.com/CyberMonitor/APT_CyberCriminal_Campagin_Collections/master/README.md
Illegal character in path at index 43: http://download.ahnlab.com/kr/site/library/[Report]Andariel_Threat_Group.pdf
The rendering should work with an encoded URL. You might work around that issue by replacing
http://download.ahnlab.com/kr/site/library/[Report]Andariel_Threat_Group.pdf with http://download.ahnlab.com/kr/site/library/%5BReport%5DAndariel_Threat_Group.pdf
marked uses https://github.com/vsch/flexmark-java to do the markdown parsing. I have filed an issue there.