From c472736062425a3ab06a46541508563511e89616 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Thu, 29 Feb 2024 13:50:09 +0100 Subject: [PATCH] docs: newapi: Fix generation of type definition tables Ensure that all rows have 3 columns and avoid generation of emtpy elements which would be turned by the XML formatter into non-pair td/tr tags which don't work properly with HTML5 parsers. Signed-off-by: Peter Krempa Reviewed-by: Pavel Hrdina --- docs/newapi.xsl | 45 +++++++++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 20 deletions(-) diff --git a/docs/newapi.xsl b/docs/newapi.xsl index 51f159a2f8..aff4cf0d4e 100644 --- a/docs/newapi.xsl +++ b/docs/newapi.xsl @@ -384,7 +384,7 @@ - union { + union { @@ -397,31 +397,35 @@ - - - + + +
+ +
-
- - } - - + + + + } + -
- - - -
+ +
+ + + +
+
+ -
- +
@@ -433,15 +437,16 @@ - - + +
- -
+
+ +