W3C home > Mailing lists > Public > www-validator-cvs@w3.org > July 2010

markup-validator commit: Don't output empty pre,code block in grouped mode if error source is not available.

From: Mercurial notifier <nobody@w3.org>
Date: Sun, 04 Jul 2010 08:31:26 +0000
To: markup-validator updates <www-validator-cvs@w3.org>
Message-Id: <E1OVKbm-0001vW-AZ@blinky.w3.org>
changeset:   3114:1e4cf1d7ea99
user:        Ville Skyttä <ville.skytta@iki.fi>
date:        Sun Jul 04 11:11:29 2010 +0300
files:       share/templates/en_US/error_loop_grouped.tmpl
description:
Don't output empty pre,code block in grouped mode if error source is not available.


diff -r fa8d9e7e7009 -r 1e4cf1d7ea99 share/templates/en_US/error_loop_grouped.tmpl
--- a/share/templates/en_US/error_loop_grouped.tmpl	Thu Jul 01 08:12:27 2010 +0300
+++ b/share/templates/en_US/error_loop_grouped.tmpl	Sun Jul 04 11:11:29 2010 +0300
@@ -13,7 +13,7 @@
                               ESCAPE="HTML">"></TMPL_IF><TMPL_VAR NAME="line" ESCAPE="HTML"><TMPL_IF NAME="opt_show_source"></a></TMPL_IF>,
                               column <TMPL_VAR NAME="char" ESCAPE="HTML"></em>:
                               <span><TMPL_VAR NAME="msg" ESCAPE="HTML"></span> 
-                              <pre><code class="input"><TMPL_VAR NAME="src"></code></pre>
+                              <TMPL_IF NAME="src"><pre><code class="input"><TMPL_VAR NAME="src"></code></pre></TMPL_IF>
                         </li>
               
           </TMPL_LOOP>
Received on Sunday, 4 July 2010 08:31:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:43 UTC