Skip to content

Commit cb8aeaf

Browse files
committed
fix: Remove extra }} in Jinja template
Issue-24: #24
1 parent 71de585 commit cb8aeaf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/griffe2md/templates/docstring/attributes.md.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Name | Type | Description
66
---- | ---- | -----------
77
{%- for attribute in section.value %}
8-
[`{{ attribute.name }}`](#{{ obj.path }}.{{ attribute.name }}) | {% if attribute.annotation -%}{%- with expression = attribute.annotation -%}<code>{% filter replace("|", "\\|") %}{%- include "expression.md.jinja" with context -%}{% endfilter %}</code>{%- endwith -%}{%- endif %} | {{ attribute.description|newline_to_br }} }}
8+
[`{{ attribute.name }}`](#{{ obj.path }}.{{ attribute.name }}) | {% if attribute.annotation -%}{%- with expression = attribute.annotation -%}<code>{% filter replace("|", "\\|") %}{%- include "expression.md.jinja" with context -%}{% endfilter %}</code>{%- endwith -%}{%- endif %} | {{ attribute.description|newline_to_br }}
99
{%- endfor -%}
1010

1111
{%- elif config.docstring_section_style == "list" %}

0 commit comments

Comments
 (0)