From: Peter Krempa Date: Thu, 29 Feb 2024 13:22:58 +0000 (+0100) Subject: docs: newapi: Properly skip ACL entries if empty X-Git-Tag: v10.2.0-rc1~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=620cbfaea5f77478f941d2c75063622abee20790;p=thirdparty%2Flibvirt.git docs: newapi: Properly skip ACL entries if empty The source document can contain an empty '@flags' attribute which passes the test but generates an empty element. Check that flags is non-empty to trigger the fallback. Signed-off-by: Peter Krempa Reviewed-by: Pavel Hrdina --- diff --git a/docs/newapi.xsl b/docs/newapi.xsl index 36bb41c877..51f159a2f8 100644 --- a/docs/newapi.xsl +++ b/docs/newapi.xsl @@ -62,7 +62,7 @@ - +