Skip to content

Commit

Permalink
Merge pull request #3100 from matrix-org/travis/spec/MSC2184-details-tag
Browse files Browse the repository at this point in the history
Allow <details> and <summary> in suggested HTML subset
  • Loading branch information
turt2live authored Apr 6, 2021
2 parents 7a0f6aa + 1aa51bc commit cdf2d26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/3100.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add `<details>` and `<summary>` to the suggested HTML subset as per [MSC2184](https://github.com/matrix-org/matrix-doc/pull/2184).
2 changes: 1 addition & 1 deletion content/client-server-api/modules/instant_messaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ tags to permit, denying the use and rendering of anything else, is:
`font`, `del`, `h1`, `h2`, `h3`, `h4`, `h5`, `h6`, `blockquote`, `p`,
`a`, `ul`, `ol`, `sup`, `sub`, `li`, `b`, `i`, `u`, `strong`, `em`,
`strike`, `code`, `hr`, `br`, `div`, `table`, `thead`, `tbody`, `tr`,
`th`, `td`, `caption`, `pre`, `span`, `img`.
`th`, `td`, `caption`, `pre`, `span`, `img`, `details`, `summary`.

Not all attributes on those tags should be permitted as they may be
avenues for other disruption attempts, such as adding `onclick` handlers
Expand Down

0 comments on commit cdf2d26

Please sign in to comment.