]> git.ipfire.org Git - thirdparty/libvirt.git/commit
docs: newapi: Don't generate empty <div> in template for ACL permissions
authorPeter Krempa <pkrempa@redhat.com>
Thu, 22 Feb 2024 12:29:07 +0000 (13:29 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 1 Mar 2024 11:51:56 +0000 (12:51 +0100)
commit3a0af92df6f43b1dac9aa80164d87e41db4c6b95
tree475257f256451724394ee92a6576bf6a1c91b78f
parentbf4a709ebe04805b1769f5b397dc461c1f061315
docs: newapi: Don't generate empty <div> in template for ACL permissions

If an API has no ACLs an empty <div class='acl'/> 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 <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
docs/newapi.xsl