Skip to content

Commit e77e9ee

Browse files
authored
Merge pull request #511 from necusjz/fix-line-break-description
fix: line break description
2 parents ce650de + fcaa605 commit e77e9ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/aaz_dev/command/templates/group.md.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{%- for _, sub_group in group.command_groups.items()|sort(attribute='0') %}
1212

1313
- [{{ sub_group.names|last }}]({{ sub_group.names|command_group_readme_path }})
14-
: {{ sub_group.help.short }}
14+
: {{ sub_group.help.short | replace('\n', '\\n') }}
1515
{%- endfor %}
1616
{%- endif %}
1717
{%- if group.commands is not none and group.commands|length %}
@@ -20,7 +20,7 @@
2020
{%- for _, command in group.commands.items()|sort(attribute='0') %}
2121

2222
- [{{ command.names|last }}]({{ command.names|command_readme_path }})
23-
: {{ command.help.short }}
23+
: {{ command.help.short | replace('\n', '\\n') }}
2424
{%- endfor %}
2525
{%- endif %}
2626
{{ "" }}

0 commit comments

Comments
 (0)