diff options
author | David Robillard <d@drobilla.net> | 2021-02-25 00:22:26 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-03-07 15:22:17 -0500 |
commit | 5f0334904584373047776656dc96ab9ba3a8a3f7 (patch) | |
tree | 3e1af53b84cb211891c02f218a30258b4fe929e4 | |
parent | 36f1cecc1fdb803bf04d2ab60bd13dd257a9e525 (diff) | |
download | serd-5f0334904584373047776656dc96ab9ba3a8a3f7.tar.gz serd-5f0334904584373047776656dc96ab9ba3a8a3f7.tar.bz2 serd-5f0334904584373047776656dc96ab9ba3a8a3f7.zip |
dox_to_sphinx: Support computeroutput nodes with children
-rwxr-xr-x | scripts/dox_to_sphinx.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/dox_to_sphinx.py b/scripts/dox_to_sphinx.py index b88a484f..5ecbaa5c 100755 --- a/scripts/dox_to_sphinx.py +++ b/scripts/dox_to_sphinx.py @@ -264,8 +264,7 @@ def dox_to_rst(index, lang, node): return "’" if node.tag == "computeroutput": - assert len(node) == 0 - return "``%s``" % node.text + return "``%s``" % plain_text(node) if node.tag == "itemizedlist": markup = "" |