chiark
/
gitweb
/
~cjwatson
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9eeae3b
)
documentation/doxygen: don't use entity if it fails to be found.
author
Vladimír Vondruš
<mosra@centrum.cz>
Wed, 4 Sep 2019 18:16:53 +0000
(20:16 +0200)
committer
Vladimír Vondruš
<mosra@centrum.cz>
Wed, 4 Sep 2019 18:16:53 +0000
(20:16 +0200)
documentation/doxygen.py
patch
|
blob
|
history
diff --git
a/documentation/doxygen.py
b/documentation/doxygen.py
index fcfb11676a177959e6130d802b3cd5a7f41ba746..10992f5df3e15385cf277b7ca250026e4991469e 100755
(executable)
--- 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