comparison tests/test-hgweb-commands.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 c4f6fc4eb01e
children 9756f943634f
comparison
equal deleted inserted replaced
23830:c4f6fc4eb01e 23831:0ab23a48b9a7
889 <tr> 889 <tr>
890 <th class="diffstat">diffstat</th> 890 <th class="diffstat">diffstat</th>
891 <td class="diffstat"> 891 <td class="diffstat">
892 2 files changed, 2 insertions(+), 0 deletions(-) 892 2 files changed, 2 insertions(+), 0 deletions(-)
893 893
894 <a id="diffstatexpand" href="javascript:toggleDiffstat()"/>[<tt>+</tt>]</a> 894 <a id="diffstatexpand" href="javascript:toggleDiffstat()">[<tt>+</tt>]</a>
895 <div id="diffstatdetails" style="display:none;"> 895 <div id="diffstatdetails" style="display:none;">
896 <a href="javascript:toggleDiffstat()"/>[<tt>-</tt>]</a> 896 <a href="javascript:toggleDiffstat()">[<tt>-</tt>]</a>
897 <p></p> 897 <p></p>
898 <table class="stripes2"> <tr> 898 <table class="stripes2"> <tr>
899 <td class="diffstat-file"><a href="#l1.1">da/foo</a></td> 899 <td class="diffstat-file"><a href="#l1.1">da/foo</a></td>
900 <td class="diffstat-total" align="right">1</td> 900 <td class="diffstat-total" align="right">1</td>
901 <td class="diffstat-graph"> 901 <td class="diffstat-graph">