Link to the content repo when referencing MXC URIs in images

pull/977/head
Travis Ralston 6 years ago
parent d7d28f7e5b
commit c7822cc9a8

@ -89,8 +89,7 @@ for the tag.
matching one of: ``https``, ``http``, ``ftp``, ``mailto``, ``magnet``) matching one of: ``https``, ``http``, ``ftp``, ``mailto``, ``magnet``)
:``img``: :``img``:
``width``, ``height``, ``alt``, ``title``, ``src`` (provided it is a Matrix Content ``width``, ``height``, ``alt``, ``title``, ``src`` (provided it is a `Matrix Content (MXC) URI`_)
URI)
:``ol``: :``ol``:
``start`` ``start``
@ -345,3 +344,4 @@ Clients should sanitise **all displayed keys** for unsafe HTML to prevent Cross-
Scripting (XSS) attacks. This includes room names and topics. Scripting (XSS) attacks. This includes room names and topics.
.. _`E2E module`: `module:e2e`_ .. _`E2E module`: `module:e2e`_
.. _`Matrix Content (MXC) URI`: `module:content`_
Loading…
Cancel
Save