Skip to content

Commit 7a4aaf5

Browse files
authored
Escape '*' in template page titles. (#118)
1 parent bbb5d71 commit 7a4aaf5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ v0.2.4
1919
`@clalancette <https://github.com/clalancette>`_ for their efforts in improving
2020
the doxygen-breathe-exhale-sphinx ecosystem (and consequently, encouraging me to
2121
resume work on this project).
22+
- Escape ``*`` in template page titles (:pr:`118`).
2223

2324
v0.2.3
2425
----------------------------------------------------------------------------------------

exhale/graph.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2487,7 +2487,8 @@ class view hierarchy (<a href="..."> for the ``createTreeView = True`` option).
24872487
title=title
24882488
)
24892489
if node.template_params or template_special:
2490-
node.title = "Template {title}".format(title=node.title)
2490+
node.title = "Template {title}".format(
2491+
title=node.title.replace('*', '\*'))
24912492

24922493
def adjustFunctionTitles(self):
24932494
# keys: string (func.name)

0 commit comments

Comments
 (0)