diff tests/test-hgweb-commands.t @ 23829:70cfa7e1611b

hgweb: close <p> elements <p> elements can only contain inline elements, so as soon as browser encounters a block element (e.g. block <div>) "inside" a <p>, it puts an implicit </p>. It's better to do this explicitly.
author Anton Shestakov <engored@ya.ru>
date Sat, 10 Jan 2015 17:52:02 +0800
parents bd5dbb8a05c8
children c4f6fc4eb01e
line wrap: on
line diff
--- a/tests/test-hgweb-commands.t	Sat Jan 10 17:44:54 2015 +0800
+++ b/tests/test-hgweb-commands.t	Sat Jan 10 17:52:02 2015 +0800
@@ -726,7 +726,7 @@
   <ul>
    <li><a href="/help">help</a></li>
   </ul>
-  <p>
+  <p></p>
   <div class="atom-logo">
   <a href="/atom-log" title="subscribe to atom feed">
   <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed">
@@ -894,7 +894,7 @@
       <a id="diffstatexpand" href="javascript:toggleDiffstat()"/>[<tt>+</tt>]</a>
       <div id="diffstatdetails" style="display:none;">
         <a href="javascript:toggleDiffstat()"/>[<tt>-</tt>]</a>
-        <p>
+        <p></p>
         <table class="stripes2">  <tr>
       <td class="diffstat-file"><a href="#l1.1">da/foo</a></td>
       <td class="diffstat-total" align="right">1</td>