Skip to content

Consider updating DEFAULT_ALLOWED_ATTRIBUTES #154

@xnx

Description

@xnx

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions