diff tests/test-hgweb-removed.t @ 23831:0ab23a48b9a7

hgweb: fix diffstat links in paper/changeset.tmpl '<a .../>foo</a>' syntax is incorrect, since the first tag just "tries" to close itself and then the actual content follows. It doesn't work, either because web browsers know better than this or because there should be a whitespace before /: '<a />'. So for the hgweb users the links looked normal anyway, but now they are correct in code as well.
author Anton Shestakov <engored@ya.ru>
date Sat, 10 Jan 2015 18:00:57 +0800
parents 70cfa7e1611b
children bf661a03fddc
line wrap: on
line diff
--- a/tests/test-hgweb-removed.t	Sat Jan 10 17:54:24 2015 +0800
+++ b/tests/test-hgweb-removed.t	Sat Jan 10 18:00:57 2015 +0800
@@ -96,9 +96,9 @@
     <td class="diffstat">
        1 files changed, 0 insertions(+), 1 deletions(-)
   
-      <a id="diffstatexpand" href="javascript:toggleDiffstat()"/>[<tt>+</tt>]</a>
+      <a id="diffstatexpand" href="javascript:toggleDiffstat()">[<tt>+</tt>]</a>
       <div id="diffstatdetails" style="display:none;">
-        <a href="javascript:toggleDiffstat()"/>[<tt>-</tt>]</a>
+        <a href="javascript:toggleDiffstat()">[<tt>-</tt>]</a>
         <p></p>
         <table class="stripes2">  <tr>
       <td class="diffstat-file"><a href="#l1.1">a</a></td>