You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug Note: Not tried with 4.0.0 since I'm running into another blocking issue there, but since I can't find any issues or changelogs addressing this bug, I assume the issue hasn't been resolved yet.
When parsing a string with marked(), the returned string has an invisible character at the end. This makes some of my unit tests fail unless I .trim() it first.
To Reproduce
Steps to reproduce the behavior:
Use marked() on any string.
You can see there is an invisible character by checking the length of the output string:
Marked version:
3.0.8
Describe the bug
Note: Not tried with 4.0.0 since I'm running into another blocking issue there, but since I can't find any issues or changelogs addressing this bug, I assume the issue hasn't been resolved yet.
When parsing a string with marked(), the returned string has an invisible character at the end. This makes some of my unit tests fail unless I .trim() it first.
To Reproduce
Steps to reproduce the behavior:
Use marked() on any string.
You can see there is an invisible character by checking the length of the output string:
The text was updated successfully, but these errors were encountered: