From acdf0733633568c68869af15846abaf1c0eaa59a Mon Sep 17 00:00:00 2001 From: Mikhail Yakshin Date: Tue, 16 Jan 2024 18:40:17 +0000 Subject: [PATCH] Treat newlines as soft breaks, not hard breaks in new Commonmarker 1.0.x --- _build/format_header.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_build/format_header.html.erb b/_build/format_header.html.erb index b9ba10890..3d74ffc53 100644 --- a/_build/format_header.html.erb +++ b/_build/format_header.html.erb @@ -22,7 +22,7 @@
-

<%= Commonmarker.to_html(yaml['doc']) if yaml['doc'] %>

+

<%= Commonmarker.to_html(yaml['doc'], options: {render: {hardbreaks: false}}) if yaml['doc'] %>