-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
remove comments spellcheck for amp validation #1106
remove comments spellcheck for amp validation #1106
Conversation
Hi @emmanuelgautier. Is there any way we could keep when not on AMP pages? Like, could we detect we're on an AMP page and decide to not add it then? |
Hi @Golmote, highlighting is processing on server side so it could be possible to imagine an option for the What do you think about this two solutions ? |
Why do comments need spellcheck="true"? |
There is a |
I’m fine with removing it. :) |
🎉 |
The attribute is no longer set by Prism: PrismJS/prism#1106
spellcheck attribute cause AMP validation errors. This pull request remove this optional attribute to allow prismjs preprocess AMP pages code.