-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
* is converted to \* when trying to strip markdown? #32
Comments
yep, search through closed issues — this package still generates markdown, so that |
This comment has been minimized.
This comment has been minimized.
@wooorm i check the issues, but only read the titles, and none of them seemed like the same issue, but i guess i was wrong.. |
See #28 for example. Yes, every punctuation character that seems to do something in markdown is escaped to prevent it from doing something. |
Thanks for the response. |
This comment was marked as spam.
This comment was marked as spam.
@ninja7dev please stop adding comments everywhere remotely related to your question. |
Initial checklist
Affected packages and versions
remark: 15.0.1, strip-markdown: 6.0.0
Link to runnable example
No response
Steps to reproduce
Run the following code
remark().use(strip).processSync("Testing*").toString().trimEnd()
I'm using Node 20 and npm 10.2.4 and the code was run in Chrome 123.0.6312.107
Expected behavior
the result should be
Testing*
Actual behavior
The result is
Testing\*
Runtime
Other (please specify in steps to reproduce)
Package manager
Other (please specify in steps to reproduce)
OS
Windows
Build and bundle tools
Vite
The text was updated successfully, but these errors were encountered: