Platform/HTML5 sanitizer: Difference between revisions

Line 3: Line 3:
* Allow a setting for enabling styles.
* Allow a setting for enabling styles.
* Allow a setting for enabling comments. See {{bug|572642}}
* Allow a setting for enabling comments. See {{bug|572642}}
** Or always enable comments? (What about "--" in comments?)
* Have three element white lists: HTML, SVG and MathML.
* Have three element white lists: HTML, SVG and MathML.
* Have three attribute white lists: HTML, SVG and MathML. The attributes don't depend on the element they are on beyond the element namespace.
* Have three attribute white lists: HTML, SVG and MathML. The attributes don't depend on the element they are on beyond the element namespace.
Confirmed users
97

edits