From ee898428aa358e1105d27a1695272b88bf2b31d1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 4 Sep 2019 20:16:53 +0200 Subject: [PATCH] documentation/doxygen: don't use entity if it fails to be found. --- documentation/doxygen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/doxygen.py b/documentation/doxygen.py index fcfb1167..10992f5d 100755 --- a/documentation/doxygen.py +++ b/documentation/doxygen.py @@ -1492,9 +1492,9 @@ def parse_desc_internal(state: State, element: ET.Element, immediate_parent: ET. 'tm': 'trade'} try: entity = mapping[i.tag] + out.parsed += '&{};'.format(entity) except: logging.warning("{}: ignoring <{}> in desc".format(state.current, i.tag)) - out.parsed += '&{};'.format(entity) # Now we can reset previous_section to None, nobody needs it anymore. # Of course we're resetting it only in case nothing else (such as the -- 2.30.2