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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]