We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
at least 15.0.1, 14.0.2
Create a Markdown file:
# test 片󠄃
Run remark on it.
Output should preserve the HTML entity or change it to non-entity form.
HTML entity is changed to a completely different character:
# test 片ă
Note that I don't recall this happening with past versions, so it might have been introduced (fairly) recently.
This will be a bug in mdast-util-{from,to}-markdown, but I’m not sure which.
mdast-util-{from,to}-markdown
Node v16
npm 8
Windows, Linux
No response
The text was updated successfully, but these errors were encountered:
This is also present when just using micromark:
import {micromark} from 'micromark'; console.log(micromark('片󠄃'));
> node test.mjs <p>片ă</p>
Sorry, something went wrong.
Sent a PR fixing this to the micromark repo: micromark/micromark#158
micromark/micromark@6db3b42
Thanks!
No branches or pull requests
Initial checklist
Affected packages and versions
at least 15.0.1, 14.0.2
Link to runnable example
Steps to reproduce
Create a Markdown file:
Run remark on it.
Expected behavior
Output should preserve the HTML entity or change it to non-entity form.
Actual behavior
HTML entity is changed to a completely different character:
# test 片ă
Note that I don't recall this happening with past versions, so it might have been introduced (fairly) recently.
This will be a bug in
mdast-util-{from,to}-markdown
, but I’m not sure which.Runtime
Node v16
Package manager
npm 8
OS
Windows, Linux
Build and bundle tools
No response
The text was updated successfully, but these errors were encountered: