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

Michal Privoznik mprivozn at redhat.com
Mon Nov 14 09:34:02 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/formatstorageencryption.html.in | 38 ++++++++++++++++++------------------
 1 file changed, 19 insertions(+), 19 deletions(-)

diff --git a/docs/formatstorageencryption.html.in b/docs/formatstorageencryption.html.in
index 1511305..ec09bc6 100644
--- a/docs/formatstorageencryption.html.in
+++ b/docs/formatstorageencryption.html.in
@@ -126,9 +126,9 @@
     </p>
 
     <pre>
-      <encryption format='qcow'>
-         <secret type='passphrase' uuid='c1f11a6d-8c5d-4a3e-ac7a-4e171c5e0d4a' />
-      </encryption></pre>
+<encryption format='qcow'>
+   <secret type='passphrase' uuid='c1f11a6d-8c5d-4a3e-ac7a-4e171c5e0d4a' />
+</encryption></pre>
 
     <p>
       Assuming a <a href="formatsecret.html#VolumeUsageType">
@@ -138,9 +138,9 @@
       as part of a domain volume definition:
     </p>
     <pre>
-      <encryption format='luks'>
-        <secret type='passphrase' uuid='f52a81b2-424e-490c-823d-6bd4235bc572'/>
-      </encryption>
+<encryption format='luks'>
+  <secret type='passphrase' uuid='f52a81b2-424e-490c-823d-6bd4235bc572'/>
+</encryption>
     </pre>
 
     <p>
@@ -148,19 +148,19 @@
       a specific cipher algorithm for volume creation:
     </p>
     <pre>
-      <volume>
-        <name>twofish.luks</name>
-        <capacity unit='G'>5</capacity>
-        <target>
-          <path>/var/lib/libvirt/images/demo.luks</path>
-          <format type='raw'/>
-          <encryption format='luks'>
-             <secret type='passphrase' uuid='f52a81b2-424e-490c-823d-6bd4235bc572'/>
-             <cipher name='twofish' size='256' mode='cbc' hash='sha256'/>
-             <ivgen name='plain64' hash='sha256'/>
-          </encryption>
-        </target>
-      </volume>
+<volume>
+  <name>twofish.luks</name>
+  <capacity unit='G'>5</capacity>
+  <target>
+    <path>/var/lib/libvirt/images/demo.luks</path>
+    <format type='raw'/>
+    <encryption format='luks'>
+       <secret type='passphrase' uuid='f52a81b2-424e-490c-823d-6bd4235bc572'/>
+       <cipher name='twofish' size='256' mode='cbc' hash='sha256'/>
+       <ivgen name='plain64' hash='sha256'/>
+    </encryption>
+  </target>
+</volume>
     </pre>
 
   </body>
-- 
2.8.4




More information about the libvir-list mailing list