Handle adjacent notes from doxygen more correctly The Doxygen documentation seems to claim that adjacent @note entries will be collapsed into a single "note" element, as separate paragraphs. This seems to be reflected in the XML output: multiple entries in a single with a element between them. Our XML-to-RST converter gets the entire contents of the simplesec element, parsed into a unicode string with a single newline between paragraphs. Paragraphs seem to always start with two spaces, though I have not tracked down the origin of this behavior. Prior to this commit, we would just output this entire unicode string directly. Since our template puts a tab character before the note string, this means that the first paragraph is indented by a tab and two spaces, and the second paragraph by just two spaces. Sphinx warns about this, as "block did not end with blank line; unexpected whitespace", and the paragraphs are indented differently within the note. Fix the warning by checking for newlines in the interior of the parsed unicode string, and introducing the appropriate whitespace for the Sphinx parser. https://github.com/krb5/krb5/commit/484ac9228b317b96a81c9e88778c521c54d49213 Author: Ben Kaduk Commit: 484ac9228b317b96a81c9e88778c521c54d49213 Branch: master doc/tools/doxybuilder_funcs.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)