Skip to content

Commit 4dbd298

Browse files
committed
Preserve newlines in plan descriptions
1 parent ef86378 commit 4dbd298

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ <h2>Plans</h2>
109109
<h3>{{plan.name}}</h3>
110110
<dl>
111111
<dt>Description:</dt>
112-
<dd>{{plan.description}}</dd>
112+
<dd>{{plan.description | replace("\n", "<br>") | safe }}</dd>
113113
<dt> Plan Parameters:</dt>
114114
{% for p in plan.parameter_schema.properties %}
115115
<dd>{{ p }}</dd>

0 commit comments

Comments
 (0)