[PATCH 07/24] drvesx.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/drvesx.html.in | 44 ++++++++++++++++++++++----------------------
 1 file changed, 22 insertions(+), 22 deletions(-)

diff --git a/docs/drvesx.html.in b/docs/drvesx.html.in
index d1e67d0..5ba7bc1 100644
--- a/docs/drvesx.html.in
+++ b/docs/drvesx.html.in
@@ -467,14 +467,14 @@ ethernet0.checkMACAddress = "false"
         Here a domain XML snippet:
     </p>
 <pre>
-    ...
-    &lt;disk type='file' device='disk'&gt;
-      &lt;source file='[local-storage] Fedora11/Fedora11.vmdk'/&gt;
-      &lt;target dev='sda' bus='scsi'/&gt;
-      &lt;address type='drive' controller='0' bus='0' unit='0'/&gt;
-    &lt;/disk&gt;
-    &lt;controller type='scsi' index='0' model='<strong>lsilogic</strong>'/&gt;
-    ...
+...
+&lt;disk type='file' device='disk'&gt;
+  &lt;source file='[local-storage] Fedora11/Fedora11.vmdk'/&gt;
+  &lt;target dev='sda' bus='scsi'/&gt;
+  &lt;address type='drive' controller='0' bus='0' unit='0'/&gt;
+&lt;/disk&gt;
+&lt;controller type='scsi' index='0' model='<strong>lsilogic</strong>'/&gt;
+...
 </pre>
     <p>
         The controller element is supported <span class="since">since 0.8.2</span>.
@@ -482,13 +482,13 @@ ethernet0.checkMACAddress = "false"
         specify the SCSI controller model. This attribute usage is deprecated now.
     </p>
 <pre>
-    ...
-    &lt;disk type='file' device='disk'&gt;
-      &lt;driver name='<strong>lsilogic</strong>'/&gt;
-      &lt;source file='[local-storage] Fedora11/Fedora11.vmdk'/&gt;
-      &lt;target dev='sda' bus='scsi'/&gt;
-    &lt;/disk&gt;
-    ...
+...
+&lt;disk type='file' device='disk'&gt;
+  &lt;driver name='<strong>lsilogic</strong>'/&gt;
+  &lt;source file='[local-storage] Fedora11/Fedora11.vmdk'/&gt;
+  &lt;target dev='sda' bus='scsi'/&gt;
+&lt;/disk&gt;
+...
 </pre>
 
 
@@ -513,13 +513,13 @@ ethernet0.checkMACAddress = "false"
         Here a domain XML snippet:
     </p>
 <pre>
-    ...
-    &lt;interface type='bridge'&gt;
-      &lt;mac address='00:50:56:25:48:c7'/&gt;
-      &lt;source bridge='VM Network'/&gt;
-      &lt;model type='<strong>e1000</strong>'/&gt;
-    &lt;/interface&gt;
-    ...
+...
+&lt;interface type='bridge'&gt;
+  &lt;mac address='00:50:56:25:48:c7'/&gt;
+  &lt;source bridge='VM Network'/&gt;
+  &lt;model type='<strong>e1000</strong>'/&gt;
+&lt;/interface&gt;
+...
 </pre>
 
 
-- 
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]