From 98b5b676f0401ad2b40d296f6a7acbbfc604ba2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20H=C3=A1la?= Date: Fri, 26 Jan 2024 16:39:19 +0100 Subject: [PATCH] Make spaces markdown tag use nbsp --- chords/plugins/spaces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chords/plugins/spaces.py b/chords/plugins/spaces.py index 1b2ca30..cc20393 100644 --- a/chords/plugins/spaces.py +++ b/chords/plugins/spaces.py @@ -15,7 +15,7 @@ def parse_chords(inline, m, state: InlineState): def render_chords(renderer, text): """Renders tag into HTML""" - return r" " * int(text) + return r" " * int(text) def spaces(md):