diff --git a/CHANGES/.template.rst.jinja2 b/CHANGES/.template.rst.jinja2 index 9881cc42..cd927e5a 100644 --- a/CHANGES/.template.rst.jinja2 +++ b/CHANGES/.template.rst.jinja2 @@ -22,7 +22,8 @@ {% if definitions[category]['showcontent'] %} {% for text, values in sections[section][category].items() %} - {{ text }} - {{ values|join(', ') }} +{% for value in values %}{% if value.isdigit() %} `#{{ value }} `_ +{% endif %}{% endfor %} {% endfor %} {% else %} diff --git a/pyproject.toml b/pyproject.toml index 513b6a2c..d1713690 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -137,7 +137,7 @@ package = "aiogram" filename = "CHANGES.rst" directory = "CHANGES/" template = "CHANGES/.template.rst.jinja2" -issue_format = "`#{issue} `_" +issue_format = "{issue}" [build-system] requires = ["poetry-core>=1.0.0"]