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

2006/unicorn/WebContent/WEB-INF/resources/templates/includes macros_index.vm,1.11,1.12

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 02 Oct 2009 09:54:19 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MteqB-0007BI-Je@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/includes
In directory hutz:/tmp/cvs-serv27574/WebContent/WEB-INF/resources/templates/includes

Modified Files:
	macros_index.vm 
Log Message:
a message content is evaluated by velocity only if it is not a stacktrace. 

Index: macros_index.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/includes/macros_index.vm,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- macros_index.vm	30 Sep 2009 16:57:48 -0000	1.11
+++ macros_index.vm	2 Oct 2009 09:54:17 -0000	1.12
@@ -21,7 +21,7 @@
 	<div class="error">
 		<h4>#evaluate($message.Message)</h4>
 		#if ($message.Content)
-		<pre>#evaluate($message.Content)</pre>
+		<pre>#if($message.doEvaluateContent())#evaluate($message.Content)#else$message.Content#end</pre>
 		#end
 	</div>
 	#end
Received on Friday, 2 October 2009 09:54:23 UTC

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