-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Improve html escape #34911
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
Improve html escape #34911
Conversation
Have you considered https://www.npmjs.com/package/lit-html? |
No, it too heavy and I believe we don't need it |
https://bundlephobia.com/package/lit-html@3.3.0 Also, the lint rule is designed for it: https://github.com/github/eslint-plugin-github/blob/main/docs/rules/unescaped-html-literal.md |
But it isn't ... I have read their code. Another problem is that even if we'd like to introduce Our existing code like |
It is designed to be general rule to check "html" prefix. BTW: the check isn't complete, I proposed an update: |
@silverwind anything else to address? Introducing |
* giteaofficial/main: [skip ci] Updated translations via Crowdin Improve html escape (go-gitea#34911) Adds tooltip on branch commit counts (go-gitea#34869) Fix PR toggle WIP (go-gitea#34920)
drop "escape-goat"