Skip to content

Commit

Permalink
Escape '*' in template page titles. (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
hidmic authored Dec 1, 2021
1 parent bbb5d71 commit 7a4aaf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ v0.2.4
`@clalancette <https://github.com/clalancette>`_ for their efforts in improving
the doxygen-breathe-exhale-sphinx ecosystem (and consequently, encouraging me to
resume work on this project).
- Escape ``*`` in template page titles (:pr:`118`).

v0.2.3
----------------------------------------------------------------------------------------
Expand Down
3 changes: 2 additions & 1 deletion exhale/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -2487,7 +2487,8 @@ class view hierarchy (<a href="..."> for the ``createTreeView = True`` option).
title=title
)
if node.template_params or template_special:
node.title = "Template {title}".format(title=node.title)
node.title = "Template {title}".format(
title=node.title.replace('*', '\*'))

def adjustFunctionTitles(self):
# keys: string (func.name)
Expand Down

0 comments on commit 7a4aaf5

Please # to comment.