hgweb: close <img> elements
authorAnton Shestakov <engored@ya.ru>
Sat, 10 Jan 2015 17:54:24 +0800
changeset 23830 c4f6fc4eb01e
parent 23829 70cfa7e1611b
child 23831 0ab23a48b9a7
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.
mercurial/templates/monoblue/footer.tmpl
mercurial/templates/paper/bookmarks.tmpl
mercurial/templates/paper/branches.tmpl
mercurial/templates/paper/filelog.tmpl
mercurial/templates/paper/graph.tmpl
mercurial/templates/paper/shortlog.tmpl
mercurial/templates/paper/tags.tmpl
tests/test-hgweb-commands.t
tests/test-hgweb-empty.t
tests/test-hgweb-filelog.t
--- 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>