Skip to content

Commit

Permalink
Fix escaping.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Aug 23, 2024
1 parent 4f91f31 commit 7b7c692
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions changelogs/fragments/311-escaping.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
bugfixes:
- "Fix RST escaping of the title in the collections per namespace list.
This causes a space to vanish between namespace name and the word ``Namespace`` with newer versions of antsibull-docs-parser
(https://github.com/ansible-community/antsibull-docs/pull/311)."
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

.. _list_of_collections_@{ namespace }@:

{% set title = 'Collections in the ' ~ (namespace | title) ~ ' Namespace' | rst_ify -%}
{% set title = ('Collections in the ' ~ (namespace | title) ~ ' Namespace') | rst_ify -%}

@{ title }@
@{ '=' * title|column_width }@
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

.. _list_of_collections_@{ namespace }@:

{% set title = 'Collections in the ' ~ (namespace | title) ~ ' Namespace' | rst_ify -%}
{% set title = ('Collections in the ' ~ (namespace | title) ~ ' Namespace') | rst_ify -%}

@{ title }@
@{ '=' * title|column_width }@
Expand Down

0 comments on commit 7b7c692

Please sign in to comment.