BREAKING CHANGE: escape html in renderer#3495
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
@UziTech Thank you for your contribution! Your pull request is now a part of the Race of Sloths! Current status: executed
Your contribution is much appreciated with a final score of 2! What is the Race of SlothsRace of Sloths is a friendly competition where you can participate in challenges and compete with other open-source contributors within your normal workflow For contributors:
For maintainers:
Feel free to check our website for additional details! Bot commands
|
|
🥁 Score it! @styfle, please score the PR with |
Marked version: 14.1.3
Description
Only escape text in renderer instead of in tokenizer.
The tokenizer should only pull the information out of the markdown and put it into tokens. The renderers should take the information from the tokens and output HTML, including escaping where relevant.
This is a breaking change because some extensions will have to update their tokenizers and renderers to follow this pattern.
Contributor
Committer
In most cases, this should be a different person than the contributor.