marked icon indicating copy to clipboard operation
marked copied to clipboard

Rendering Error - Illegal Character

Open MichaelDwucet opened this issue 6 years ago • 1 comments

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

MichaelDwucet avatar Jul 13 '18 08:07 MichaelDwucet

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.

borisdiakur avatar Jul 13 '18 10:07 borisdiakur