Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Span With Whitespace Not Converted Correctly #10

Open
eum2o opened this issue Aug 24, 2020 · 0 comments
Open

Span With Whitespace Not Converted Correctly #10

eum2o opened this issue Aug 24, 2020 · 0 comments

Comments

@eum2o
Copy link

eum2o commented Aug 24, 2020

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 eum2o changed the title Span Element Not Properly Converted Span With Whitespace Not Converted Correctly Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant