changeset 23828:8b79fdaa9f85

hgweb: close <th> properly in spartan/filelogentry.tmpl
author Anton Shestakov <engored@ya.ru>
date Sat, 10 Jan 2015 17:44:54 +0800
parents 4982fade9733
children 70cfa7e1611b
files mercurial/templates/spartan/filelogentry.tmpl tests/test-hgweb-filelog.t
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/templates/spartan/filelogentry.tmpl	Sat Jan 10 21:36:42 2015 +0900
+++ b/mercurial/templates/spartan/filelogentry.tmpl	Sat Jan 10 17:44:54 2015 +0800
@@ -4,7 +4,7 @@
   <th class="firstline"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a></th>
  </tr>
  <tr>
-  <th class="revision">revision {filerev}:</td>
+  <th class="revision">revision {filerev}:</th>
   <td class="node">
    <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a>
    <a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">(diff)</a>
--- a/tests/test-hgweb-filelog.t	Sat Jan 10 21:36:42 2015 +0900
+++ b/tests/test-hgweb-filelog.t	Sat Jan 10 17:44:54 2015 +0800
@@ -643,7 +643,7 @@
     <th class="firstline"><a href="/rev/b7682196df1c?style=spartan">change c</a></th>
    </tr>
    <tr>
-    <th class="revision">revision 1:</td>
+    <th class="revision">revision 1:</th>
     <td class="node">
      <a href="/file/b7682196df1c/c?style=spartan">b7682196df1c</a>
      <a href="/diff/b7682196df1c/c?style=spartan">(diff)</a>
@@ -668,7 +668,7 @@
     <th class="firstline"><a href="/rev/1a6696706df2?style=spartan">mv b</a></th>
    </tr>
    <tr>
-    <th class="revision">revision 0:</td>
+    <th class="revision">revision 0:</th>
     <td class="node">
      <a href="/file/1a6696706df2/c?style=spartan">1a6696706df2</a>
      <a href="/diff/1a6696706df2/c?style=spartan">(diff)</a>