[libvirt] [PATCH] docs: Fix HTML errors

Jiri Denemark jdenemar at redhat.com
Thu Feb 21 09:41:02 UTC 2013


<pre> is forbidden inside <p>
---
Pushed as trivial.

 docs/formatnetwork.html.in | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/docs/formatnetwork.html.in b/docs/formatnetwork.html.in
index adb5bb9..f7c483d 100644
--- a/docs/formatnetwork.html.in
+++ b/docs/formatnetwork.html.in
@@ -143,6 +143,7 @@
             The address range is set with the <code><address></code>
             subelements and <code>start</code> and <code>stop</code>
             attributes:
+            </p>
             <pre>
 ...
   <forward mode='nat'>
@@ -150,8 +151,8 @@
       <address start='1.2.3.4' end='1.2.3.10'/>
     </nat>
   </forward>
-...
-            </pre>
+...</pre>
+            <p>
             An singe IPv4 address can be set by setting
             <code>start</code> and <code>end</code> attributes to
             the same value.
@@ -159,6 +160,7 @@
             <p>
             The port range to be used for the <code><nat></code> can
             be set via the subelement <code><port></code>:
+            </p>
             <pre>
 ...
   <forward mode='nat'>
@@ -166,9 +168,7 @@
       <port start='500' end='1000'/>
     </nat>
   </forward>
-...
-            </pre>
-            </p>
+...</pre>
           </dd>
 
           <dt><code>route</code></dt>
-- 
1.8.1.2




More information about the libvir-list mailing list