project-robius / project-robius/robrix
HTML tag support tracker
Open
@kevinaboos is already working on this.
Since Apr 9, 2024.
tracking
- Dominant language
- Rust
- Stars
- 487
- Forks
- 68
- Avg merge
- 1h 22m
- Merged PRs (30d)
- 54
Description
This issue tracks which Html tags are supported (both parsed and displayed fully correctly) in rich Html message content.
For more info, see the list of supported Html tags and attributes in the Matrix spec the newest v1.13 spec's list of supported Html tags and attributes.
- Headers:
h1,h2,h3,h4,h5,h6 -
b,strong: bold -
i,em: italic/emphasis -
u: underline -
del/strike: strikethrough/cross-out -
p: paragraph -
hr: horizontal rule, separator -
br: line break, new line -
blockquote -
ul -
ol-
start
-
-
li -
pre: code blocks-
class="language-*"for syntax highlighting- This is blocked on Makepad's upcoming support for syntax highlighting
-
-
code: inline code -
font- color
- data-mx-color
- data-mx-bg-color
-
span- data-mx-bg-color
- data-mx-color
- data-mx-spoiler: #274
-
a: hyper links- href
- Note: href value must not be relative, must have a scheme matching one of: https, http, ftp, mailto, magnet
- web clients should add a `rel="noopener"``attribute
- name — this is explicitly not supported
- target — this is explicitly not supported
- href
- sup
- Fixed/improved by https://github.com/makepad/makepad/pull/1051
- sub: is parsed correctly, but doesn't always display properly
- Fixed/improved by https://github.com/makepad/makepad/pull/1051
- div: i think this is only used for the new latex math feature (which we need to support in
spantoo) -
table: implemented by https://github.com/makepad/makepad/pull/1032caption-- a table captionthead-- a table header (the first row, typically column labels)tbody-- a table body (rows that come after thetheadtable header)tr-- a table rowth-- a table column header (the left-most cell in a row)td-- a table data cell
- Fixed/improved by https://github.com/makepad/makepad/pull/1051
-
img: inline images- width
- height
- alt
- title
- src
-
details: an expandable view that shows a summary when closed and the full content when open.-
summary: the short content viewable whendetailsis closed.
- Implemented: https://github.com/makepad/makepad/pull/1052
-
- mx-reply: see issue https://github.com/project-robius/robrix/issues/82
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.