[PATCH] coal/paper: Make turn <img> into <img/> where missing

Rocco Rutte pdmef at gmx.net
Sat Mar 28 16:26:32 CDT 2009


Hi,

* Rocco Rutte wrote:
># HG changeset patch
># User Rocco Rutte <pdmef at gmx.net>
># Date 1238254067 -3600
># Node ID c36d1acf5ef4fbff6a682d8093056b92e00c9636
># Parent  ef0b467f4f9a60aff45399027673d97d44fda7ea
>coal/paper: Make turn <img> into <img/> where missing

Sorry for the noise, attached is a fixed version updating test output
and fixing the commit message.

Rocco
-------------- next part --------------
# HG changeset patch
# User Rocco Rutte <pdmef at gmx.net>
# Date 1238275342 -3600
# Node ID 179fac5c10d887dabb780f417b04feb7cba3cf0d
# Parent  27f23c9da186c76a34a21d70a70d1901ee044c68
coal/paper: Turn <img> into <img/> where missing

diff --git a/templates/paper/error.tmpl b/templates/paper/error.tmpl
--- a/templates/paper/error.tmpl
+++ b/templates/paper/error.tmpl
@@ -7,7 +7,7 @@
 <div class="menu">
 <div class="logo">
 <a href="http://www.selenic.com/mercurial/">
-<img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
+<img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a>
 </div>
 <ul>
 <li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li>
diff --git a/templates/paper/index.tmpl b/templates/paper/index.tmpl
--- a/templates/paper/index.tmpl
+++ b/templates/paper/index.tmpl
@@ -6,7 +6,7 @@
 <div class="container">
 <div class="menu">
 <a href="http://www.selenic.com/mercurial/">
-<img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
+<img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a>
 </div>
 <div class="main">
 <h2>Mercurial Repositories</h2>
diff --git a/tests/test-hgweb-filelog.out b/tests/test-hgweb-filelog.out
--- a/tests/test-hgweb-filelog.out
+++ b/tests/test-hgweb-filelog.out
@@ -421,7 +421,7 @@ 404 Not Found
 <div class="menu">
 <div class="logo">
 <a href="http://www.selenic.com/mercurial/">
-<img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
+<img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a>
 </div>
 <ul>
 <li><a href="/shortlog">log</a></li>
diff --git a/tests/test-hgweb.out b/tests/test-hgweb.out
--- a/tests/test-hgweb.out
+++ b/tests/test-hgweb.out
@@ -36,7 +36,7 @@ 404 Not Found
 <div class="menu">
 <div class="logo">
 <a href="http://www.selenic.com/mercurial/">
-<img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
+<img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a>
 </div>
 <ul>
 <li><a href="/shortlog">log</a></li>
@@ -105,7 +105,7 @@ 404 Not Found
 <div class="menu">
 <div class="logo">
 <a href="http://www.selenic.com/mercurial/">
-<img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
+<img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a>
 </div>
 <ul>
 <li><a href="/shortlog">log</a></li>


More information about the Mercurial-devel mailing list