-
Notifications
You must be signed in to change notification settings - Fork 2
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
Summernote paste is back... harder stronger faster smarter #1572
Conversation
Ha ha ha mais on avait pas conclu que c'était inutile parce que sanitized après ? |
en fait ca permet d'avoir dans ton éditeur au moment du paste quelque chose qui ressemble à ce que tu auras après avoir sauvé et rechargé. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est certainement très bien, mais c'est incompréhensible et ça devrait être dans un plugin externe je crois
// remove allMicrosoft Office tag | ||
html = html.replace(/<!\[if !supportLists[\s\S]*?endif\]>/g, ''); | ||
// remove all html comments | ||
html = html.replace(/<!--[\s\S]*?-->/g, ''); |
Check failure
Code scanning / CodeQL
Incomplete multi-character sanitization High
close #1541
en préparation de #1442