-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
Trailing whitespace in element is lost #37
Comments
Are you certain this is from rehype core? Could it be one of the plugins? |
Yes it could be from the remark plugins. Did you see my PR with the test? I tried to test what I think would be expected, but might have errors sorry. |
I checked and it is using more or less:
|
I could try to create another test somewhere, if you point me to where you think it would make sense. |
Could it be this bug? rehypejs/rehype-minify#19 |
I think it’s most probably that, which is now fixed: rehypejs/rehype-minify@64c6206. Do let us know if your problem persists. |
The Seems to error see the PR syntax-tree/hast-util-to-mdast#60 |
Subject of the issue
Trailing whitespace in element is lost if followed by text node.
Your environment
Steps to reproduce
I tried to create a test, but I am not confident that it is 100% correct, please double check
#36
Expected behavior
The white space should be inside the strong element
Actual behavior
There is no white space
The text was updated successfully, but these errors were encountered: