From: Vladimír Vondruš Date: Mon, 21 May 2018 20:20:41 +0000 (+0200) Subject: doxygen: doesn't have to be always in . X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=f786fab3aee891fb13790e16a82726095e27745f;p=blog.git doxygen: doesn't have to be always in . --- diff --git a/doxygen/dox2html5.py b/doxygen/dox2html5.py index 84545749..542bc7f6 100755 --- 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 += '
{}
'.format(html.escape(i.text or '')) elif i.tag == 'image': - assert element.tag == 'para' # is inside a paragraph :/ + # can be in but often also in
and other m.css-specific + # elements has_block_elements = True name = i.attrib['name']