Skip to content

Commit

Permalink
Treat newlines as soft breaks, not hard breaks in new Commonmarker 1.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
GreyCat committed Jan 16, 2024
1 parent 9c9caf6 commit acdf073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _build/format_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<div class="row">
<div class="col-md-8">
<p><%= Commonmarker.to_html(yaml['doc']) if yaml['doc'] %></p>
<p><%= Commonmarker.to_html(yaml['doc'], options: {render: {hardbreaks: false}}) if yaml['doc'] %></p>
</div>
<div class="col-md-4">
<div class="panel panel-info">
Expand Down

0 comments on commit acdf073

Please sign in to comment.