vsch / flexmark-java

CommonMark/Markdown Java parser with source level AST. CommonMark 0.28, emulation of: pegdown, kramdown, markdown.pl, MultiMarkdown. With HTML to MD, MD to PDF, MD to DOCX conversion modules.
BSD 2-Clause "Simplified" License
2.21k stars 260 forks source link

Fix wrong closing bracket #608

Open angatha opened 4 months ago

angatha commented 4 months ago

![Test](Test) =16x16) is entirely matched by the pattern but I expect that only ![Test](Test) refers to the image.

On the other hand ![Test](Test] =16x16) would not match while ![Test](Test]) is the way to embed the image named Test].

angatha commented 4 months ago

Thanks to @JGSteinke for bringing this to my attention.