Open tysonzero opened 2 years ago
https://html.spec.whatwg.org/multipage/syntax.html#optional-tags
Minimal incorrect example:
-- current sanitizeBalance "<td>foo<td>bar" == "<td>foo<td>bar</td></td>" -- correct sanitizeBalance "<td>foo<td>bar" == "<td>foo</td><td>bar</td>" -- potentially an option depending on semantics of "balanced" sanitizeBalance "<td>foo<td>bar" == "<td>foo<td>bar"
If html4 / xhtml5 sanitizing is also desired then separate functions/modules may be needed.
https://html.spec.whatwg.org/multipage/syntax.html#optional-tags
Minimal incorrect example:
If html4 / xhtml5 sanitizing is also desired then separate functions/modules may be needed.