spartan: add missing closing tags
authorAnton Shestakov <av6@dwimlabs.net>
Thu, 31 May 2018 16:52:02 +0800
changeset 38202 45765264ae3a
parent 38201 56dd15178190
child 38203 c2e3bc99fba4
spartan: add missing closing tags Browsers apparently don't care about this, but let's fix it for humans.
mercurial/templates/spartan/map
tests/test-hgweb-descend-empties.t
tests/test-hgweb-symrev.t
--- a/mercurial/templates/spartan/map	Fri Apr 20 15:21:03 2018 +0200
+++ b/mercurial/templates/spartan/map	Thu May 31 16:52:02 2018 +0800
@@ -27,21 +27,24 @@
 
 direntry = '
   <tr class="parity{parity}">
-    <td><tt>drwxr-xr-x</tt>&nbsp;
-    <td>&nbsp;
-    <td>&nbsp;
+    <td><tt>drwxr-xr-x</tt>&nbsp;</td>
+    <td>&nbsp;</td>
+    <td>&nbsp;</td>
     <td>
       <a href="{url|urlescape}file/{symrev}{path|urlescape}{sessionvars%urlparameter}">{basename|escape}/</a>
       <a href="{url|urlescape}file/{symrev}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">
         {emptydirs|urlescape}
-      </a>'
+      </a>
+    </td>
+  </tr>'
 
 fileentry = '
   <tr class="parity{parity}">
-    <td><tt>{permissions|permissions}</tt>&nbsp;
-    <td align=right><tt class="date">{date|isodate}</tt>&nbsp;
-    <td align=right><tt>{size}</tt>&nbsp;
-    <td><a href="{url|urlescape}file/{symrev}/{file|urlescape}{sessionvars%urlparameter}">{basename|escape}</a>'
+    <td><tt>{permissions|permissions}</tt>&nbsp;</td>
+    <td align=right><tt class="date">{date|isodate}</tt>&nbsp;</td>
+    <td align=right><tt>{size}</tt>&nbsp;</td>
+    <td><a href="{url|urlescape}file/{symrev}/{file|urlescape}{sessionvars%urlparameter}">{basename|escape}</a></td>
+  </tr>'
 
 filerevision = filerevision.tmpl
 fileannotate = fileannotate.tmpl
--- a/tests/test-hgweb-descend-empties.t	Fri Apr 20 15:21:03 2018 +0200
+++ b/tests/test-hgweb-descend-empties.t	Thu May 31 16:52:02 2018 +0800
@@ -532,32 +532,38 @@
   </tr>
   
   <tr class="parity1">
-  <td><tt>drwxr-xr-x</tt>&nbsp;
-  <td>&nbsp;
-  <td>&nbsp;
+  <td><tt>drwxr-xr-x</tt>&nbsp;</td>
+  <td>&nbsp;</td>
+  <td>&nbsp;</td>
   <td>
   <a href="/file/tip/a1?style=spartan">a1/</a>
   <a href="/file/tip/a1/a2/a3/a4?style=spartan">
   a2/a3/a4
   </a>
+  </td>
+  </tr>
   <tr class="parity0">
-  <td><tt>drwxr-xr-x</tt>&nbsp;
-  <td>&nbsp;
-  <td>&nbsp;
+  <td><tt>drwxr-xr-x</tt>&nbsp;</td>
+  <td>&nbsp;</td>
+  <td>&nbsp;</td>
   <td>
   <a href="/file/tip/b1?style=spartan">b1/</a>
   <a href="/file/tip/b1/b2/b3?style=spartan">
   b2/b3
   </a>
+  </td>
+  </tr>
   <tr class="parity1">
-  <td><tt>drwxr-xr-x</tt>&nbsp;
-  <td>&nbsp;
-  <td>&nbsp;
+  <td><tt>drwxr-xr-x</tt>&nbsp;</td>
+  <td>&nbsp;</td>
+  <td>&nbsp;</td>
   <td>
   <a href="/file/tip/d1?style=spartan">d1/</a>
   <a href="/file/tip/d1/d2?style=spartan">
   d2
   </a>
+  </td>
+  </tr>
   
   </table>
   
--- a/tests/test-hgweb-symrev.t	Fri Apr 20 15:21:03 2018 +0200
+++ b/tests/test-hgweb-symrev.t	Thu May 31 16:52:02 2018 +0800
@@ -967,7 +967,7 @@
     <td><a href="/file/tip/?style=spartan">[up]</a>
   <a href="/file/tip/dir?style=spartan">dir/</a>
   <a href="/file/tip/dir/?style=spartan">
-  <td><a href="/file/tip/foo?style=spartan">foo</a>
+  <td><a href="/file/tip/foo?style=spartan">foo</a></td>
 
   $ "$TESTDIR/get-with-headers.py" $LOCALIP:$HGPORT 'shortlog?style=spartan&rev=all()' | egrep $REVLINKS
   <a href="/archive/tip.zip">zip</a> 
@@ -1040,7 +1040,7 @@
     <td><a href="/file/xyzzy/?style=spartan">[up]</a>
   <a href="/file/xyzzy/dir?style=spartan">dir/</a>
   <a href="/file/xyzzy/dir/?style=spartan">
-  <td><a href="/file/xyzzy/foo?style=spartan">foo</a>
+  <td><a href="/file/xyzzy/foo?style=spartan">foo</a></td>
 
   $ "$TESTDIR/get-with-headers.py" $LOCALIP:$HGPORT 'file/xyzzy/foo?style=spartan' | egrep $REVLINKS
   <a href="/log/xyzzy?style=spartan">changelog</a>