hgweb: close <img> elements
Templates declare xhtml doctype, which means, in particular, that the document
must also be valid xml. So <img> elements must be closed.
--- a/mercurial/templates/monoblue/footer.tmpl Sat Jan 10 17:52:02 2015 +0800
+++ b/mercurial/templates/monoblue/footer.tmpl Sat Jan 10 17:54:24 2015 +0800
@@ -9,7 +9,7 @@
</div>
<div id="powered-by">
- <p><a href="{logourl}" title="Mercurial"><img src="{staticurl|urlescape}{logoimg}" width=75 height=90 border=0 alt="mercurial"></a></p>
+ <p><a href="{logourl}" title="Mercurial"><img src="{staticurl|urlescape}{logoimg}" width=75 height=90 border=0 alt="mercurial" /></a></p>
</div>
<div id="corner-top-left"></div>
--- a/mercurial/templates/paper/bookmarks.tmpl Sat Jan 10 17:52:02 2015 +0800
+++ b/mercurial/templates/paper/bookmarks.tmpl Sat Jan 10 17:54:24 2015 +0800
@@ -26,7 +26,7 @@
<p></p>
<div class="atom-logo">
<a href="{url|urlescape}atom-bookmarks" title="subscribe to atom feed">
-<img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed">
+<img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed" />
</a>
</div>
</div>
--- a/mercurial/templates/paper/branches.tmpl Sat Jan 10 17:52:02 2015 +0800
+++ b/mercurial/templates/paper/branches.tmpl Sat Jan 10 17:54:24 2015 +0800
@@ -26,7 +26,7 @@
<p></p>
<div class="atom-logo">
<a href="{url|urlescape}atom-branches" title="subscribe to atom feed">
-<img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed">
+<img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed" />
</a>
</div>
</div>
--- a/mercurial/templates/paper/filelog.tmpl Sat Jan 10 17:52:02 2015 +0800
+++ b/mercurial/templates/paper/filelog.tmpl Sat Jan 10 17:54:24 2015 +0800
@@ -38,7 +38,8 @@
<p></p>
<div class="atom-logo">
<a href="{url|urlescape}atom-log/{node|short}/{file|urlescape}" title="subscribe to atom feed">
-<img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed"></a>
+<img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed" />
+</a>
</div>
</div>
--- a/mercurial/templates/paper/graph.tmpl Sat Jan 10 17:52:02 2015 +0800
+++ b/mercurial/templates/paper/graph.tmpl Sat Jan 10 17:54:24 2015 +0800
@@ -31,7 +31,7 @@
<p></p>
<div class="atom-logo">
<a href="{url|urlescape}atom-log" title="subscribe to atom feed">
-<img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed">
+<img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed" />
</a>
</div>
</div>
--- a/mercurial/templates/paper/shortlog.tmpl Sat Jan 10 17:52:02 2015 +0800
+++ b/mercurial/templates/paper/shortlog.tmpl Sat Jan 10 17:54:24 2015 +0800
@@ -33,7 +33,7 @@
<p></p>
<div class="atom-logo">
<a href="{url|urlescape}atom-log" title="subscribe to atom feed">
-<img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed">
+<img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed" />
</a>
</div>
</div>
--- a/mercurial/templates/paper/tags.tmpl Sat Jan 10 17:52:02 2015 +0800
+++ b/mercurial/templates/paper/tags.tmpl Sat Jan 10 17:54:24 2015 +0800
@@ -26,7 +26,8 @@
<p></p>
<div class="atom-logo">
<a href="{url|urlescape}atom-tags" title="subscribe to atom feed">
-<img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed"></a>
+<img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed" />
+</a>
</div>
</div>
--- a/tests/test-hgweb-commands.t Sat Jan 10 17:52:02 2015 +0800
+++ b/tests/test-hgweb-commands.t Sat Jan 10 17:54:24 2015 +0800
@@ -729,7 +729,7 @@
<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">
+ <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
</a>
</div>
</div>
--- a/tests/test-hgweb-empty.t Sat Jan 10 17:52:02 2015 +0800
+++ b/tests/test-hgweb-empty.t Sat Jan 10 17:54:24 2015 +0800
@@ -51,7 +51,7 @@
<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">
+ <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
</a>
</div>
</div>
@@ -161,7 +161,7 @@
<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">
+ <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
</a>
</div>
</div>
@@ -267,7 +267,7 @@
<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">
+ <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
</a>
</div>
</div>
--- a/tests/test-hgweb-filelog.t Sat Jan 10 17:52:02 2015 +0800
+++ b/tests/test-hgweb-filelog.t Sat Jan 10 17:54:24 2015 +0800
@@ -159,7 +159,8 @@
<p></p>
<div class="atom-logo">
<a href="/atom-log/01de2d66a28d/a" title="subscribe to atom feed">
- <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed"></a>
+ <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
+ </a>
</div>
</div>
@@ -268,7 +269,8 @@
<p></p>
<div class="atom-logo">
<a href="/atom-log/01de2d66a28d/a" title="subscribe to atom feed">
- <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed"></a>
+ <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
+ </a>
</div>
</div>
@@ -377,7 +379,8 @@
<p></p>
<div class="atom-logo">
<a href="/atom-log/5ed941583260/a" title="subscribe to atom feed">
- <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed"></a>
+ <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
+ </a>
</div>
</div>
@@ -481,7 +484,8 @@
<p></p>
<div class="atom-logo">
<a href="/atom-log/5ed941583260/a" title="subscribe to atom feed">
- <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed"></a>
+ <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
+ </a>
</div>
</div>