]> xenbits.xensource.com Git - libvirt.git/commitdiff
aclpolkit.html.in: Kill useless spaces in <pre/>
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 11 Nov 2016 22:40:27 +0000 (23:40 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 14 Nov 2016 10:03:34 +0000 (11:03 +0100)
The <pre/> section is rendered as-is on the page. That is, if all
the lines are prefixed with 4 spaces the rendered page will also
have them. Problem is if we put a box around such <pre/> because
the content might not fix into it.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
docs/aclpolkit.html.in

index dd4c5fb3ab5cd132af988908fbedac403a183e41..7967a0f3d4248c76a5749bc39b83edd094f3b61f 100644 (file)
     </p>
 
     <pre>
-      polkit.addRule(function(action, subject) {
-        ....logic to check 'action' and 'subject'...
-      });
+polkit.addRule(function(action, subject) {
+  ....logic to check 'action' and 'subject'...
+});
     </pre>
 
     <p>