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

Inline html tag content is trimmed #275

Closed
erquhart opened this issue Jul 5, 2017 · 3 comments
Closed

Inline html tag content is trimmed #275

erquhart opened this issue Jul 5, 2017 · 3 comments

Comments

@erquhart
Copy link
Contributor

erquhart commented Jul 5, 2017

The contents of inline tags are being trimmed. When parsing html to markdown:

Input

a b<span> </span>c d</span><strong> e</strong>

Expected output

a b c d **e**

Actual output

a bc d**e**

Runkit repro: https://runkit.com/erquhart/595d36c4e60f6b0012c00405

@erquhart erquhart changed the title Span content is trimmed Inline html tag content is trimmed Jul 5, 2017
@wooorm
Copy link
Member

wooorm commented Jul 20, 2017

This is an issue with rehype-minify-whitespace. Could you open an issue over there?

@wooorm wooorm closed this as completed Jul 20, 2017
@erquhart
Copy link
Contributor Author

No problem!

@wooorm
Copy link
Member

wooorm commented Jul 20, 2017

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants