-
Notifications
You must be signed in to change notification settings - Fork 292
Open
Description
Describe the bug A clear and concise description of what the bug is.
Bold and italic html text, which contain a whitespace are not properly converted to valid markdown.
Please provide as much information about where the bug is located or what you were using:
-
Parser
-
HtmlRenderer
-
Formatter
-
FlexmarkHtmlParser
-
DocxRenderer
-
PdfConverterExtension
- extension(s)
To Reproduce
FlexmarkHtmlConverter converter = FlexmarkHtmlConverter.builder().build();
String html = "<p><strong>My strong text. </strong>append</p>";
String converted = converter.convert(html);
This returns
**My strong text.**append
It should return
**My strong text.** append
Another example: Prepend<strong>. some</strong>
is parsed to Prepend**. some**
, while it should probably be parsed to Prepend. **some**
Therefore any markdown parser can't interpret the bold style.
Same for italic
Metadata
Metadata
Assignees
Labels
No labels