]> xenbits.xensource.com Git - libvirt.git/commitdiff
formatstorageencryption.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/formatstorageencryption.html.in

index 1511305fd82a5fda9e85acf14b828456f631eb97..ec09bc661f2254a7ea83b2730dc85a45c04acec5 100644 (file)
     </p>
 
     <pre>
-      &lt;encryption format='qcow'&gt;
-         &lt;secret type='passphrase' uuid='c1f11a6d-8c5d-4a3e-ac7a-4e171c5e0d4a' /&gt;
-      &lt;/encryption&gt;</pre>
+&lt;encryption format='qcow'&gt;
+   &lt;secret type='passphrase' uuid='c1f11a6d-8c5d-4a3e-ac7a-4e171c5e0d4a' /&gt;
+&lt;/encryption&gt;</pre>
 
     <p>
       Assuming a <a href="formatsecret.html#VolumeUsageType">
       as part of a domain volume definition:
     </p>
     <pre>
-      &lt;encryption format='luks'&gt;
-        &lt;secret type='passphrase' uuid='f52a81b2-424e-490c-823d-6bd4235bc572'/&gt;
-      &lt;/encryption&gt;
+&lt;encryption format='luks'&gt;
+  &lt;secret type='passphrase' uuid='f52a81b2-424e-490c-823d-6bd4235bc572'/&gt;
+&lt;/encryption&gt;
     </pre>
 
     <p>
       a specific cipher algorithm for volume creation:
     </p>
     <pre>
-      &lt;volume&gt;
-        &lt;name&gt;twofish.luks&lt;/name&gt;
-        &lt;capacity unit='G'&gt;5&lt;/capacity&gt;
-        &lt;target&gt;
-          &lt;path&gt;/var/lib/libvirt/images/demo.luks&lt;/path&gt;
-          &lt;format type='raw'/&gt;
-          &lt;encryption format='luks'&gt;
-             &lt;secret type='passphrase' uuid='f52a81b2-424e-490c-823d-6bd4235bc572'/&gt;
-             &lt;cipher name='twofish' size='256' mode='cbc' hash='sha256'/&gt;
-             &lt;ivgen name='plain64' hash='sha256'/&gt;
-          &lt;/encryption&gt;
-        &lt;/target&gt;
-      &lt;/volume&gt;
+&lt;volume&gt;
+  &lt;name&gt;twofish.luks&lt;/name&gt;
+  &lt;capacity unit='G'&gt;5&lt;/capacity&gt;
+  &lt;target&gt;
+    &lt;path&gt;/var/lib/libvirt/images/demo.luks&lt;/path&gt;
+    &lt;format type='raw'/&gt;
+    &lt;encryption format='luks'&gt;
+       &lt;secret type='passphrase' uuid='f52a81b2-424e-490c-823d-6bd4235bc572'/&gt;
+       &lt;cipher name='twofish' size='256' mode='cbc' hash='sha256'/&gt;
+       &lt;ivgen name='plain64' hash='sha256'/&gt;
+    &lt;/encryption&gt;
+  &lt;/target&gt;
+&lt;/volume&gt;
     </pre>
 
   </body>