W3C home > Mailing lists > Public > www-validator-cvs@w3.org > October 2009

2006/unicorn/WebContent/WEB-INF/resources/templates/includes macros_index.vm,1.15,1.16

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 20 Oct 2009 12:45:34 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1N0E5m-0006gV-Nx@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/includes
In directory hutz:/tmp/cvs-serv25680/WebContent/WEB-INF/resources/templates/includes

Modified Files:
	macros_index.vm 
Log Message:
escapes messages content

Index: macros_index.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/includes/macros_index.vm,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- macros_index.vm	7 Oct 2009 12:22:53 -0000	1.15
+++ macros_index.vm	20 Oct 2009 12:45:31 -0000	1.16
@@ -21,7 +21,7 @@
 	<div class="error">
 		<h4>$message.getMessage($lang)</h4>
 		#if ($message.Content)
-		<pre>#if($message.doEvaluateContent())#evaluate($message.Content)#else$message.Content#end</pre>
+		<pre>#if($message.doEvaluateContent())#evaluate($message.Content)#else$!esc.html($message.Content)#end</pre>
 		#end
 	</div>
 	#end
Received on Tuesday, 20 October 2009 12:45:36 UTC

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