From 3a0af92df6f43b1dac9aa80164d87e41db4c6b95 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Thu, 22 Feb 2024 13:29:07 +0100 Subject: [PATCH] docs: newapi: Don't generate empty
in template for ACL permissions If an API has no ACLs an empty
would be generated which is mis-interpreted by browsers when creating DOM to nest any subsequent elements under it. Don't generate the ACL section div unless it will be filled. Best viewed with 'git show -w' Signed-off-by: Peter Krempa Reviewed-by: Pavel Hrdina --- docs/newapi.xsl | 60 +++++++++++++++++++++++++------------------------ 1 file changed, 31 insertions(+), 29 deletions(-) diff --git a/docs/newapi.xsl b/docs/newapi.xsl index 38cefb2ca8..b60680ae97 100644 --- a/docs/newapi.xsl +++ b/docs/newapi.xsl @@ -26,30 +26,34 @@ - -
Access control parameter checks
- - - - - - - - - -
ObjectPermissionCondition
-
- -
Access control return value filters
- - - - - - - - -
ObjectPermission
+ +
+ +
Access control parameter checks
+ + + + + + + + + +
ObjectPermissionCondition
+
+ +
Access control return value filters
+ + + + + + + + +
ObjectPermission
+
+
@@ -702,11 +706,9 @@ -
- - - -
+ + +