diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-05-29 22:31:20 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-05-30 00:43:38 -0400 |
commit | 827f70eb764428baa397e9f3e295c470a1fd43e6 (patch) | |
tree | b4e5221960a58e33fc79d4de38cf2548fafd4e14 /src/libsystemd-id128 | |
parent | 310b59edcf0a98343425a47ea5835fc670c0cda3 (diff) |
man: fix display of keys which appear in two sections in directive index
When an index key appeared in multiple sections (e.g.
CPUAffinity= was present in both "SYSTEM MANAGER DIRECTIVES"
and "UNIT DIRECTIVES"), when lxml was used, the key would
be not be displayed in all but one of those sections, and
only an empty <term/> element would be present. This
happens because lxml allows only one parent for each node,
and when the same formatted element was used in multiple places,
it was actually moved between them. Fix this by making a copy
of the element. The bug was present since lxml support was
introduced.
Also fix some indentation issues.
Diffstat (limited to 'src/libsystemd-id128')
0 files changed, 0 insertions, 0 deletions