diff --git a/strictdoc/export/html/templates/screens/document/_shared/toc.jinja b/strictdoc/export/html/templates/screens/document/_shared/toc.jinja index aa620882e..2c9e9e57d 100644 --- a/strictdoc/export/html/templates/screens/document/_shared/toc.jinja +++ b/strictdoc/export/html/templates/screens/document/_shared/toc.jinja @@ -33,7 +33,7 @@ data-turbo="false" > - {{ section.context.title_number_string if section.context.title_number_string else " " * (section.ng_level * 2 - 1) }} + {{ section.context.title_number_string if section.context.title_number_string else " "|safe * (section.ng_level * 2 - 1) }} {{- section.title -}} {# TODO #fragment #} {# {{ section.document_is_included() }} {{ section.parent_or_including_document.reserved_title }}/{{ section.get_document().reserved_title }} #} @@ -47,7 +47,7 @@ data-turbo="false" > - {{ section.context.title_number_string if section.context.title_number_string else " " * (section.ng_level * 2 - 1) }} + {{ section.context.title_number_string if section.context.title_number_string else " "|safe * (section.ng_level * 2 - 1) }} {%- if section.reserved_title is not none -%} {{- section.reserved_title -}} diff --git a/strictdoc/export/html/templates/screens/document/pdf/toc.jinja b/strictdoc/export/html/templates/screens/document/pdf/toc.jinja index 70f2d3c2c..65406a8a6 100644 --- a/strictdoc/export/html/templates/screens/document/pdf/toc.jinja +++ b/strictdoc/export/html/templates/screens/document/pdf/toc.jinja @@ -10,7 +10,7 @@