Peter Krempa 47a8ff9979 docs: newapi: Avoid empty <div>s when there is no description
The various objects we generate API for may have empty description in
which case an empty div would be generated when processing the API
description. As we're using XML output mode the generator would shorten
such divs to the non-pair empty element version, which doesn't work well
with HTML5 parsers requiring a pair tag for <div>

Avoid empty description <div> elements altogether by skipping it if the
description is empty.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
2024-03-01 12:51:56 +01:00
..
2024-02-26 11:13:32 +01:00
2023-02-21 10:58:59 +01:00
2023-05-17 16:54:23 +02:00
2023-05-17 16:54:23 +02:00
2024-02-26 12:10:27 +01:00
2023-07-17 10:43:29 -05:00
2022-04-07 15:10:26 +02:00
2022-04-07 15:10:26 +02:00
2023-04-27 11:06:42 +02:00
2024-02-26 12:10:27 +01:00
2024-02-26 12:10:27 +01:00
2022-05-24 12:19:16 +02:00
2024-02-26 12:10:27 +01:00
2024-02-26 12:10:27 +01:00
2022-03-08 17:40:47 +01:00
2024-02-26 12:10:27 +01:00
2022-04-01 16:33:19 +02:00
2022-03-08 17:40:47 +01:00
2024-02-26 12:10:27 +01:00
2017-08-02 15:00:28 -04:00
2022-03-10 17:52:07 +01:00
2022-04-14 11:54:28 +02:00
2022-04-07 15:10:26 +02:00
2022-03-08 17:40:47 +01:00
2022-05-24 12:19:15 +02:00