Skip to content
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

Fix markdown escaping wrongly passing html through #28363

Merged
merged 2 commits into from
Nov 4, 2024

Conversation

t3chguy
Copy link
Member

@t3chguy t3chguy commented Nov 1, 2024

No description provided.

@@ -383,6 +383,8 @@ export default class Markdown {
if (isMultiLine(node) && node.next) this.lit("\n\n");
};

return renderer.render(this.parsed);
renderer.esc = (input: string) => input;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a comment here explaining why there's no escaping done here?

Signed-off-by: Michael Telatynski <[email protected]>
@t3chguy t3chguy added this pull request to the merge queue Nov 4, 2024
Merged via the queue into develop with commit 38e5eee Nov 4, 2024
32 checks passed
@t3chguy t3chguy deleted the t3chguy/fix-markdown-escaping branch November 4, 2024 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants