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:
c33a060
)
doxygen: <image> doesn't have to be always in <para>.
author
Vladimír Vondruš
<mosra@centrum.cz>
Mon, 21 May 2018 20:20:41 +0000
(22:20 +0200)
committer
Vladimír Vondruš
<mosra@centrum.cz>
Mon, 21 May 2018 20:20:41 +0000
(22:20 +0200)
doxygen/dox2html5.py
patch
|
blob
|
history
diff --git
a/doxygen/dox2html5.py
b/doxygen/dox2html5.py
index 84545749f0db91b708b8321e7b174cfe3524afa7..542bc7f67a0a64b48eadc1d479b5e9c79aac690c 100755
(executable)
--- a/
doxygen/dox2html5.py
+++ b/
doxygen/dox2html5.py
@@
-1018,7
+1018,8
@@
def parse_desc_internal(state: State, element: ET.Element, immediate_parent: ET.
out.parsed += '<pre>{}</pre>'.format(html.escape(i.text or ''))
elif i.tag == 'image':
- assert element.tag == 'para' # is inside a paragraph :/
+ # can be in <para> but often also in <div> and other m.css-specific
+ # elements
has_block_elements = True
name = i.attrib['name']