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
Getting an error for content with emojis: RangeError: Maximum call stack size exceeded
To Reproduce
Steps to reproduce the behavior:
We are using the package markdown-link-extractor for the following sample content to extract links and the RangeError is thrown by marked
Hi, Patrick! 👋
Did you hear that group activities like posting a discussion in a group can earn you 10x credits than the regular offer? Learn more about the special offers to look forward to this 10.10 Promo, from October 10 to 13 only!
Check the topic: **[📣 Promo Catalog & Many Ways to Earn Bigger Credits this 10.10 Promo!](https://1pt.ee/c/ea2c93)**
Stack trace
RangeError: Maximum call stack size exceeded\nPlease report this to https://github.com/markedjs/marked.\n at String.match (<anonymous>)\n at Tokenizer.link (/home/bountee/bundle/programs/server/npm/node_modules/markdown-link-extractor/index.js:14:31)\n at Tokenizer.tokenizer.<computed> (/home/bountee/bundle/programs/server/npm/node_modules/marked/src/marked.js:165:45)\n at Tokenizer.tokenizer.<computed> (/home/bountee/bundle/programs/server/npm/node_modules/marked/src/marked.js:167:31)\n at Tokenizer.tokenizer.<computed>
Expected behavior
No error
The text was updated successfully, but these errors were encountered:
Marked version:
"marked": "^2.0.5"
Depended by this package: https://github.com/tcort/markdown-link-extractor
Describe the bug
Getting an error for content with emojis: RangeError: Maximum call stack size exceeded
To Reproduce
Steps to reproduce the behavior:
We are using the package
markdown-link-extractor
for the following sample content to extract links and the RangeError is thrown bymarked
Stack trace
Expected behavior
No error
The text was updated successfully, but these errors were encountered: