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
The parser fails to parse marks inside <ul><li> and <row><table><tr><td> if not preceeded by a blank line #597
Having a blank line right before the mark makes it parsable but adds an unwanted paragraph around the line, which is a problem for multiple bulletpoints and inside tables
bug description With a hybrid HTML/MD input The parser fails to parse marks inside
and inside
Where the bug is located:
Parser
Sample code which exhibits the issue.
Input text used
Options used to configure the parser, renderer, formatter, etc.
No options/default Parser parser = Parser.builder().build(); HtmlRenderer renderer = HtmlRenderer.builder().build();
Expected behavior
Resulting Output :
Note:
Having a blank line right before the mark makes it parsable but adds an unwanted paragraph around the line, which is a problem for multiple bulletpoints and inside tables
Resulting Output :
BulletPointlink