aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-02-25 00:22:26 -0500
committerDavid Robillard <d@drobilla.net>2021-03-07 15:22:17 -0500
commit5f0334904584373047776656dc96ab9ba3a8a3f7 (patch)
tree3e1af53b84cb211891c02f218a30258b4fe929e4 /scripts
parent36f1cecc1fdb803bf04d2ab60bd13dd257a9e525 (diff)
downloadserd-5f0334904584373047776656dc96ab9ba3a8a3f7.tar.gz
serd-5f0334904584373047776656dc96ab9ba3a8a3f7.tar.bz2
serd-5f0334904584373047776656dc96ab9ba3a8a3f7.zip
dox_to_sphinx: Support computeroutput nodes with children
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/dox_to_sphinx.py3
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 = ""