diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2024-11-07 16:47:48 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2024-11-08 14:14:36 +0100 |
commit | fe45f8dc9bf1e9be8de4e14838bc2d7befcf946b (patch) | |
tree | 3a890110001acf8e5b03a31bef3e00368920e15c /tools | |
parent | man: update Fedora links to F41 (diff) | |
download | systemd-fe45f8dc9bf1e9be8de4e14838bc2d7befcf946b.tar.xz systemd-fe45f8dc9bf1e9be8de4e14838bc2d7befcf946b.zip |
man: drop whitespace from final <programlisting> lines
In the troff output, this doesn't seem to make any difference. But in the
html output, the whitespace is sometimes preserved, creating an additional
gap before the following content. Drop it everywhere to avoid this.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/update-dbus-docs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/update-dbus-docs.py b/tools/update-dbus-docs.py index ce7161c5f1..17006f3d86 100755 --- a/tools/update-dbus-docs.py +++ b/tools/update-dbus-docs.py @@ -228,7 +228,7 @@ def subst_output(document, programlisting, stats, missing_version): xml = etree.fromstring(out, parser=xml_parser()) new_text, declarations, interfaces = xml_to_text(node, xml, only_interface=interface) - programlisting.text = '\n' + new_text + ' ' + programlisting.text = '\n' + new_text if declarations: missing = check_documented(document, declarations, stats, interface, missing_version) |