mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-30 14:14:09 +02:00
Remove strike deprecation and add added-in annotation
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
05d08168e5
commit
34579a6a9e
|
|
@ -0,0 +1 @@
|
||||||
|
Document the deprecation policy of HTML tags.
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
Deprecate the `strike` HTML tag and introduce the `s` tag as a possible replacement.
|
|
||||||
|
|
@ -48,21 +48,13 @@ tags to permit, denying the use and rendering of anything else, is:
|
||||||
`s`, `code`, `hr`, `br`, `div`, `table`, `thead`, `tbody`, `tr`,
|
`s`, `code`, `hr`, `br`, `div`, `table`, `thead`, `tbody`, `tr`,
|
||||||
`th`, `td`, `caption`, `pre`, `span`, `img`, `details`, `summary`.
|
`th`, `td`, `caption`, `pre`, `span`, `img`, `details`, `summary`.
|
||||||
|
|
||||||
|
|
||||||
{{% boxes/note %}}
|
{{% boxes/note %}}
|
||||||
|
{{% added-in v="1.10" %}}
|
||||||
HTML features MAY be deprecated and replaced by their modern equivalent without
|
HTML features MAY be deprecated and replaced by their modern equivalent without
|
||||||
requiring a [Spec Change Proposal](/proposals) when they are deprecated in the
|
requiring a [Spec Change Proposal](/proposals) when they are deprecated in the
|
||||||
WHATWG HTML Living Standard.
|
WHATWG HTML Living Standard.
|
||||||
{{% /boxes/note %}}
|
{{% /boxes/note %}}
|
||||||
|
|
||||||
{{% boxes/note %}}
|
|
||||||
{{% changed-in v="1.10" %}}
|
|
||||||
|
|
||||||
The `strike` tag is deprecated. Clients MUST stop sending new messages using
|
|
||||||
this tag and replace it with `s` or `del`.
|
|
||||||
{{% /boxes/note %}}
|
|
||||||
|
|
||||||
|
|
||||||
Not all attributes on those tags should be permitted as they may be
|
Not all attributes on those tags should be permitted as they may be
|
||||||
avenues for other disruption attempts, such as adding `onclick` handlers
|
avenues for other disruption attempts, such as adding `onclick` handlers
|
||||||
or excessively large text. Clients should only permit the attributes
|
or excessively large text. Clients should only permit the attributes
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue