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

commit: doesn't escape title as they can now contain links elements

From: Mercurial notifier <nobody@w3.org>
Date: Thu, 10 Jun 2010 14:54:27 -0400
To: Unicorn Updates <www-validator-cvs@w3.org>
Message-Id: <E1OMmtX-0007jI-S5@blinky.w3.org>
changeset:   1177:430052d51cc1
user:        Thomas Gambet <tgambet@w3.org>
date:        Thu Jun 10 11:17:18 2010 -0400
files:       WebContent/WEB-INF/resources/templates/xhtml10.vm
description:
doesn't escape title as they can now contain links elements


diff -r 1a1096680c5f -r 430052d51cc1 WebContent/WEB-INF/resources/templates/xhtml10.vm
--- a/WebContent/WEB-INF/resources/templates/xhtml10.vm	Thu Jun 10 11:16:43 2010 -0400
+++ b/WebContent/WEB-INF/resources/templates/xhtml10.vm	Thu Jun 10 11:17:18 2010 -0400
@@ -84,7 +84,7 @@
 										<td class="info level$message.Level message" id="$messageId">
 											<span class="msg#if($message.Description && $message.Description != "") desc#end"> 	 
 												<span class="$type legend">$type</span> 	 
-												$!esc.html($message.Title) 	 
+												$!message.Title 	 
 											</span> 
 											#if($message.Description && $message.Description != "")<div class="description">$!message.Description</div>#end
 										</td>
@@ -106,7 +106,7 @@
 										<td class="info level$message.Level message" id="$messageId" #if($rowspan>1)rowspan="$rowspan"#end>
 											<span class="msg#if($message.Description && $message.Description != "") desc#end"> 	 
 												<span class="$type legend">$type</span> 	 
-												$!esc.html($message.Title) 	 
+												$!message.Title 	 
 											</span> 
 											#if($message.Description && $message.Description != "")<div class="description">$!message.Description</div>#end
 										</td>
@@ -153,7 +153,7 @@
 												<td class="info level$message.Level message" id="$messageId">
 													<span class="msg#if($message.Description && $message.Description != "") desc#end"> 	 
 														<span class="$type legend">$type</span> 	 
-														$!esc.html($message.Title) 	 
+														$!message.Title 	 
 													</span> 
 													#if($message.Description && $message.Description != "")<div class="description">$!message.Description</div>#end
 												</td>
@@ -175,7 +175,7 @@
 												<td class="info level$message.Level message" id="$messageId" #if($rowspan>1) rowspan="$rowspan" #end>
 													<span class="msg#if($message.Description && $message.Description != "") desc#end"> 	 
 														<span class="$type legend">$type</span> 	 
-														$!esc.html($message.Title) 	 
+														$!message.Title 	 
 													</span> 
 													#if($message.Description && $message.Description != "")<div class="description">$!message.Description</div>#end
 												</td>
@@ -227,7 +227,7 @@
 										<td class="colnumber" title=""></td>
 										<td class="codeContext" title="$context_token"></td>
 										<td class="info level$message.Level message" id="$messageId">
-											<span class="msg#if($message.Description && $message.Description != "") desc#end">$!esc.html($message.Title)</span>
+											<span class="msg#if($message.Description && $message.Description != "") desc#end">$!message.Title</span>
 											#if($message.Description && $message.Description != "")<div class="description">$!message.Description</div>#end
 										</td>
 										<td class="anchor"><a class="smooth" title="$anchor_message" href="#$messageId">a</a></td>
@@ -247,7 +247,7 @@
 										#if ($b)
 										#set ($b = false)
 										<td class="info level$message.Level message" id="$messageId" #if($rowspan>1) rowspan="$rowspan" #end>
-											<span class="msg#if($message.Description && $message.Description != "") desc#end">$!esc.html($message.Title)</span>
+											<span class="msg#if($message.Description && $message.Description != "") desc#end">$!message.Title</span>
 											#if($message.Description && $message.Description != "")<div class="description">$!message.Description</div>#end
 										</td>
 										<td class="anchor" #if($rowspan>1) rowspan="$rowspan" #end><a class="smooth" title="$anchor_message" href="#$messageId">a</a></td>
@@ -291,7 +291,7 @@
 										<td class="colnumber" title=""></td>
 										<td class="codeContext" title="$context_token"></td>
 										<td class="info level$message.Level message" id="$messageId">
-											<span class="msg#if($message.Description && $message.Description != "") desc#end">$!esc.html($message.Title)</span>
+											<span class="msg#if($message.Description && $message.Description != "") desc#end">$!message.Title</span>
 											#if($message.Description && $message.Description != "")<div class="description">$!message.Description</div>#end
 										</td>
 										<td class="anchor"><a class="smooth" title="$anchor_message" href="#$messageId">a</a></td>
@@ -310,7 +310,7 @@
 										#if ($b)
 										#set ($b = false)
 										<td class="info level$message.Level message" id="$messageId" #if($rowspan>1) rowspan="$rowspan" #end>
-											<span class="msg#if($message.Description && $message.Description != "") desc#end">$!esc.html($message.Title)</span>
+											<span class="msg#if($message.Description && $message.Description != "") desc#end">$!message.Title</span>
 											#if($message.Description && $message.Description != "")<div class="description">$!message.Description</div>#end
 										</td>
 										<td class="anchor" #if($rowspan>1) rowspan="$rowspan" #end><a class="smooth" title="$anchor_message" href="#$messageId">a</a></td>
@@ -354,7 +354,7 @@
 										<td class="colnumber" title=""></td>
 										<td class="codeContext" title="$context_token"></td>
 										<td class="info level$message.Level message" id="$messageId">
-											<span class="msg#if($message.Description && $message.Description != "") desc#end">$!esc.html($message.Title)</span>
+											<span class="msg#if($message.Description && $message.Description != "") desc#end">$!message.Title</span>
 											#if($message.Description && $message.Description != "")<div class="description">$!message.Description</div>#end
 										</td>
 										<td class="anchor"><a class="smooth" title="$anchor_message" href="#$messageId">a</a></td>
@@ -373,7 +373,7 @@
 										#if ($b)
 										#set ($b = false)
 										<td class="info level$message.Level message" id="$messageId" #if($rowspan>1) rowspan="$rowspan" #end>
-											<span class="msg#if($message.Description && $message.Description != "") desc#end">$!esc.html($message.Title)</span>
+											<span class="msg#if($message.Description && $message.Description != "") desc#end">$!message.Title</span>
 											#if($message.Description && $message.Description != "")<div class="description">$!message.Description</div>#end
 										</td>
 										<td class="anchor" #if($rowspan>1) rowspan="$rowspan" #end><a class="smooth" title="$anchor_message" href="#$messageId">a</a></td>
Received on Thursday, 10 June 2010 18:56:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:20 GMT