From 53076e736bcef91cb2f8971bf9545903eb3daa66 Mon Sep 17 00:00:00 2001 From: J0J0 Todos Date: Thu, 12 Sep 2024 09:34:55 +0200 Subject: [PATCH] Finally find a way to escape whitespace in rst to prevent creation of
html when using leading spaces for indentation. --- doc/source/features.rst | 1 + doc/source/features_media.csv | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/source/features.rst b/doc/source/features.rst index 7cbf274..2d509a1 100644 --- a/doc/source/features.rst +++ b/doc/source/features.rst @@ -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 diff --git a/doc/source/features_media.csv b/doc/source/features_media.csv index 45a803d..de257f2 100644 --- a/doc/source/features_media.csv +++ b/doc/source/features_media.csv @@ -1,6 +1,6 @@ "`Querying media `_","---" -" `List all media in a room `_",:option:`synadm media list -r` -" `List all media uploaded by a user `_",:option:`synadm media list -u` :option:`synadm user media -f` +"|nbindent| `List all media in a room `_",:option:`synadm media list -r` +"|nbindent| `List all media uploaded by a user `_",:option:`synadm media list -u` :option:`synadm user media -f` "`Quarantine media `_","---" " `Quarantining media by ID `_",:option:`synadm media quarantine -i` " `Remove media from quarantine by ID `_",:option:`synadm media unquarantine -i`