mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-19 01:24:09 +02:00
Remove the deprecated name attribute on HTML anchor elements
Fixes: #1790 Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
This commit is contained in:
parent
f434fdfba7
commit
b1c3c0d7c7
|
|
@ -74,7 +74,7 @@ the tag.
|
||||||
| Tag | Permitted Attributes |
|
| Tag | Permitted Attributes |
|
||||||
|--------|--------------------------------------------------------------------------------------------------------------------------------------------|
|
|--------|--------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `span` | `data-mx-bg-color`, `data-mx-color`, `data-mx-spoiler` (see [spoiler messages](#spoiler-messages)), `data-mx-maths` (see [mathematical messages](#mathematical-messages)) |
|
| `span` | `data-mx-bg-color`, `data-mx-color`, `data-mx-spoiler` (see [spoiler messages](#spoiler-messages)), `data-mx-maths` (see [mathematical messages](#mathematical-messages)) |
|
||||||
| `a` | `name`, `target`, `href` (provided the value is not relative and has a scheme matching one of: `https`, `http`, `ftp`, `mailto`, `magnet`) |
|
| `a` | `target`, `href` (provided the value is not relative and has a scheme matching one of: `https`, `http`, `ftp`, `mailto`, `magnet`) |
|
||||||
| `img` | `width`, `height`, `alt`, `title`, `src` (provided it is a [Matrix Content (`mxc://`) URI](#matrix-content-mxc-uris)) |
|
| `img` | `width`, `height`, `alt`, `title`, `src` (provided it is a [Matrix Content (`mxc://`) URI](#matrix-content-mxc-uris)) |
|
||||||
| `ol` | `start` |
|
| `ol` | `start` |
|
||||||
| `code` | `class` (only classes which start with `language-` for syntax highlighting) |
|
| `code` | `class` (only classes which start with `language-` for syntax highlighting) |
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue