add table to default sanitize allowlist
Created by: HexCodeFFF
Prerequisites
-
I have searched for duplicate or closed feature requests -
I have read the contributing guidelines
Proposal
add table
, tr
, td
, th
, tbody
, and colgroup
as allowed tags and colspan
, rowspan
, and span
to allowed attributes for the relevant elements to the default sanitizer configuration
Motivation and context
tables are a useful and static HTML object which I'm personally using to create a mini calendar in a popover for my chrome extension. this was mentioned in #30764 (closed) and I'm aware a workaround is easily possible but shouldn't be needed imo