wagtail-markdown icon indicating copy to clipboard operation
wagtail-markdown copied to clipboard

Consider updating DEFAULT_ALLOWED_ATTRIBUTES

Open xnx opened this issue 9 months ago • 0 comments

Currently this setting includes:

"tr": [
        "rowspan",
        "colspan",
    ],

but I don't think these are valid attributes for <tr>. However, it doesn't allow for colspan in <th> elements, where it would be very useful (I know it can be added to "allowed_attributes" in the WAGTAILMARKDOWN project setting, but it seems a harmless default).

xnx avatar Apr 09 '25 11:04 xnx