aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorQrius <[email protected]>2025-04-24 12:21:44 +0200
committerQrius <[email protected]>2025-04-24 12:21:46 +0200
commit5f413899daab986b1d2330557fd9be3f2fd6755b (patch)
tree493246c7201eaf872b7703662e3d95ec48aeb16b /src
parente959972105686988f9c46d152f34f658192229fd (diff)
downloadskaldpress-5f413899daab986b1d2330557fd9be3f2fd6755b.tar.gz
skaldpress-5f413899daab986b1d2330557fd9be3f2fd6755b.zip
Disable br conversion in markdown macro
Diffstat (limited to 'src')
-rw-r--r--src/smp/builtins.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smp/builtins.py b/src/smp/builtins.py
index 424aa53..eae32ce 100644
--- a/src/smp/builtins.py
+++ b/src/smp/builtins.py
@@ -177,7 +177,7 @@ def smp_builtin_format_time(macro_processor, format, time):
def smp_builtin_html_from_markdown(macro_processor, text, extensions=list()):
text = macro_processor.process_input(text)
md = (
- MarkdownIt("commonmark", {"breaks": True, "html": True})
+ MarkdownIt("commonmark", {"breaks": False, "html": True})
.enable("table")
.enable("list")
)