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

validator/share/templates/en_US error_loop.tmpl,1.9,1.10

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 07 May 2010 18:17:40 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1OAS7I-0005HL-2L@lionel-hutz.w3.org>
Update of /sources/public/validator/share/templates/en_US
In directory hutz:/tmp/cvs-serv20258/share/templates/en_US

Modified Files:
	error_loop.tmpl 
Log Message:
Escape error messages also when showing source.

Index: error_loop.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/error_loop.tmpl,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- error_loop.tmpl	13 Feb 2009 21:23:18 -0000	1.9
+++ error_loop.tmpl	7 May 2010 18:17:38 -0000	1.10
@@ -5,7 +5,7 @@
 <span class="err_type"><TMPL_IF NAME="err_type_info"><img src="images/info_icons/info.png" alt="Info" title="Info" /></TMPL_IF><TMPL_IF NAME="err_type_warn"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></TMPL_IF><TMPL_IF NAME="err_type_err"><img src="images/info_icons/error.png" alt="Error" title="Error" /></TMPL_IF></span>
         <TMPL_IF NAME="line"><em>Line <a href="#line-<TMPL_VAR NAME="line" ESCAPE="HTML">"><TMPL_VAR NAME="line" ESCAPE="HTML"></a><TMPL_IF NAME="char">,
             Column <TMPL_VAR NAME="char" ESCAPE="HTML"></TMPL_IF></em>:</TMPL_IF>
-        <span class="msg"><TMPL_VAR NAME="msg"></span>
+        <span class="msg"><TMPL_VAR NAME="msg" ESCAPE="HTML"></span>
 <TMPL_IF NAME="uri">(<a href="<TMPL_VAR NAME="uri" ESCAPE="HTML">">explain...</a>)</TMPL_IF>
 <TMPL_IF NAME="src"><pre><code class="input"><TMPL_VAR NAME="src"></code></pre></TMPL_IF>
 <TMPL_IF NAME="expl"><TMPL_VAR NAME="expl"></TMPL_IF>
Received on Friday, 7 May 2010 18:17:41 UTC

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