Skip to content

Commit

Permalink
fix(template): resolve parsing issues with raw/endraw in Jinja (#824
Browse files Browse the repository at this point in the history
)
  • Loading branch information
pplmx authored Aug 29, 2024
1 parent c34aaa0 commit 63bf5b7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@ body = """
| filter(attribute="scope")
| sort(attribute="scope") %}
{{ self::print_commit(commit=commit) }}
{%- endfor -%}
{% raw %}\n{% endraw %}\
{%- for commit in commits %}
{%- endfor %}
{% for commit in commits %}
{%- if not commit.scope -%}
{{ self::print_commit(commit=commit) }}
{% endif -%}
Expand All @@ -64,7 +63,8 @@ body = """
{%- endif %}
{%- endfor -%}
{%- endif %}
{% raw %}\n{% endraw -%}
"""
# template for the changelog footer
footer = """
Expand Down

0 comments on commit 63bf5b7

Please sign in to comment.