remark-java icon indicating copy to clipboard operation
remark-java copied to clipboard

Span With Whitespace Not Converted Correctly

Open eum2o opened this issue 4 years ago • 0 comments

Detected in version: 1.1.0

Example code:

public static void main(String[] args) {
	final String html = "<html><body><b><i>Foo</i></b><span> </span><b><i>Bar</i></b></html></body>";
	final Remark remark = new Remark(Options.markdown());
	remark.setCleanedHtmlEchoed(false);
	System.out.println(remark.convert(html));
}

Actual Output ***Foo******Bar***

Expected Output ***Foo*** ***Bar***

eum2o avatar Aug 24 '20 06:08 eum2o