diff options
-rw-r--r-- | wikimini/templates/quotes.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wikimini/templates/quotes.py b/wikimini/templates/quotes.py index 7c1429d..b51d92d 100644 --- a/wikimini/templates/quotes.py +++ b/wikimini/templates/quotes.py @@ -7,7 +7,7 @@ def tmpl_quote(wikimini, obj): text = obj.get("text", None) if not text: return "" - content = text.value.strip_code() + content = wikimini._convert(text.value) lines = content.split("\n") return "\n".join(f"> {line}" for line in lines) @@ -19,7 +19,7 @@ registry.insert("quote", tmpl_quote) def tmpl_cquote(wikimini, obj): """Renders the ``{{cquote|...}}`` template.""" text = obj.params[0] - content = text.value.strip_code() + content = wikimini._convert(text.value) lines = content.split("\n") return "\n".join(f"> {line}" for line in lines) |