We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
would you consider permitting details and summary Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
details
summary
Here is a working example...
Code changes are quite simple...
openKB.js...
var cleanHTML = sanitizeHtml(fixed_html, { allowedTags: [ 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'blockquote', 'p', 'a', 'ul', 'ol', 'nl', 'li', 'b', 'i', 'strong', 'em', 'strike', 'code', 'hr', 'br', 'div', 'table', 'thead', 'caption', 'tbody', 'tr', 'th', 'td', 'pre', 'img', 'iframe', 'details','summary' /* << Add details and summary */ ], allowedAttributes: false });
common.js...
return sanitizeHtml(html, { allowedTags: [ 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'blockquote', 'p', 'a', 'ul', 'ol', 'nl', 'li', 'b', 'i', 'strong', 'em', 'strike', 'code', 'hr', 'br', 'div', 'table', 'thead', 'caption', 'tbody', 'tr', 'th', 'td', 'pre', 'img', 'iframe', 'details','summary' /* << Add details and summary */ ], allowedAttributes: false });
The text was updated successfully, but these errors were encountered:
Fixes mrvautin#268 & mrvautin#285
6e93267
eb89bb2
No branches or pull requests
Hi,
would you consider permitting
details
andsummary
Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
Here is a working example...
Code changes are quite simple...
openKB.js...
common.js...
The text was updated successfully, but these errors were encountered: