matrix-org / matrix-org/matrix-spec

Update html message allowed tags

Open
#1,226 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

improvement
Dominant language
HTML
Stars
330
Forks
150
Avg merge
2h 21m
Merged PRs (30d)
3

Description

**Is your feature request related to a problem? Please describe.**
https://spec.matrix.org/v1.3/client-server-api/#mroommessage-msgtypes
element renders `` which the spec suggests to not allow (supposedly the reason e.g. nheko doesn't).
any particular reason i'm overlooking, besides inflating spec?

**Describe the solution you'd like**
review HTML tags that can be allowed

**Describe alternatives you've considered**
even richer formatting that doesn't rely on a markup language?

**Additional context**
I'm using `` in particular to give a footnote about the data source of a whether forecast posting bot

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Matrix Client-Server API m.room.message msgtypes section linked in the issue and review how allowed HTML tags are described there. Compare the treatment of with the stated specification and decide which tags should be allowed; done means the specification's allowed-tag guidance is updated and consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.