]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix verbatim tag handling in Doxygen bridge
authorGreg Hudson <ghudson@mit.edu>
Sat, 6 Mar 2021 07:20:28 +0000 (02:20 -0500)
committerGreg Hudson <ghudson@mit.edu>
Mon, 8 Mar 2021 23:53:14 +0000 (18:53 -0500)
commit2e0b22dc400b3a1b9615506fb4b65bdbddd2e73a
tree6919672dd46e258e295964dfd74f0a45c0a7be0e
parent414cf4152c9743ca3aaef4cf9fb13628ec5f7896
Fix verbatim tag handling in Doxygen bridge

Commit 281210909beef4683be3b63bc1ac1e75c2c9c7eb added handling for
verbatim tags in doxybuilder_types.py, but did not check for tail
text.  This wasn't a problem in Doxygen 1.8 because its XML output
ended paragraph tags after verbatim tags, but that isn't the case in
Doxygen 1.9.  Move the is_tail check earlier so we don't have to check
for each tag type.

Also avoid putting spaces at the beginnings and ends of lines when
joining the elements of the result list, to avoid confusing the RST
parser at the end of literal blocks.
doc/tools/doxybuilder_types.py