[libvirt] [PATCH 01/24] aclpolkit.html.in: Kill useless spaces in <pre/>

Michal Privoznik mprivozn at redhat.com
Mon Nov 14 09:33:47 UTC 2016


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 at redhat.com>
---
 docs/aclpolkit.html.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/aclpolkit.html.in b/docs/aclpolkit.html.in
index dd4c5fb..7967a0f 100644
--- a/docs/aclpolkit.html.in
+++ b/docs/aclpolkit.html.in
@@ -334,9 +334,9 @@
     </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>
-- 
2.8.4




More information about the libvir-list mailing list