Skip to content

Commit 14f8803

Browse files
committed
Add a missing newline to fix the newfile rendering
towncrier renders with `trim_blocks=True` which trims the newline at the start of the for loop's body. This adds an additional newline which is not trimmed, which ensures that the code blocks don't blend into each other.
1 parent 4144d6a commit 14f8803

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/news/template.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333

3434
{# This is the loop that generates individual entries #}
3535
{% for message, issue_reference in sections[section_name][type_]|dictsort(by='value') %}
36+
3637
- {{ message }}
3738
{%- if type_ not in ["vendor", "process"] %} ({{ issue_reference|sort|join(', ') }}){% endif %}
3839
{% endfor %}

0 commit comments

Comments
 (0)