Skip to content

Commit

Permalink
Finally find a way to escape whitespace in rst
Browse files Browse the repository at this point in the history
to prevent creation of <blockquote> html when using leading spaces for
indentation.
  • Loading branch information
JOJ0 committed Sep 12, 2024
1 parent 719ee5e commit 53076e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/source/features.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,4 @@ Federation
https://github.com/JOJ0/synadm/issues/new
.. _pull request:
https://github.com/JOJ0/synadm/blob/dev/CONTRIBUTING.md#submitting-your-work
.. |nbindent| unicode:: U+00A0 U+00A0 .. non-breaking two-space indentation
4 changes: 2 additions & 2 deletions doc/source/features_media.csv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"`Querying media <https://element-hq.github.io/synapse/latest/admin_api/media_admin_api.html#querying-media>`_","---"
" `List all media in a room <https://element-hq.github.io/synapse/latest/admin_api/media_admin_api.html#list-all-media-in-a-room>`_",:option:`synadm media list -r`
" `List all media uploaded by a user <https://element-hq.github.io/synapse/latest/admin_api/media_admin_api.html#delete-media-uploaded-by-a-user>`_",:option:`synadm media list -u` :option:`synadm user media -f`
"|nbindent| `List all media in a room <https://element-hq.github.io/synapse/latest/admin_api/media_admin_api.html#list-all-media-in-a-room>`_",:option:`synadm media list -r`
"|nbindent| `List all media uploaded by a user <https://element-hq.github.io/synapse/latest/admin_api/media_admin_api.html#delete-media-uploaded-by-a-user>`_",:option:`synadm media list -u` :option:`synadm user media -f`
"`Quarantine media <https://element-hq.github.io/synapse/latest/admin_api/media_admin_api.html#quarantine-media>`_","---"
" `Quarantining media by ID <https://element-hq.github.io/synapse/latest/admin_api/media_admin_api.html#quarantining-media-by-id>`_",:option:`synadm media quarantine -i`
" `Remove media from quarantine by ID <https://element-hq.github.io/synapse/latest/admin_api/media_admin_api.html#remove-media-from-quarantine-by-id>`_",:option:`synadm media unquarantine -i`
Expand Down

0 comments on commit 53076e7

Please sign in to comment.