validator/share/templates/en_US ucn_output.tmpl,1.2,1.3

Update of /sources/public/validator/share/templates/en_US
In directory hutz:/tmp/cvs-serv5364

Modified Files:
	ucn_output.tmpl 
Log Message:
ucn doesn't allow <pre> or <div>. Trying to work around that, as a temporary fix

Index: ucn_output.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/ucn_output.tmpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ucn_output.tmpl	5 Sep 2006 03:19:38 -0000	1.2
+++ ucn_output.tmpl	5 Sep 2006 04:02:51 -0000	1.3
@@ -20,8 +20,9 @@
 	      <column><TMPL_VAR NAME="char"></column>
 	      <message><TMPL_VAR NAME="msg" ESCAPE="HTML"></message>
 	      <longmessage>
-		<pre><code class="input"><TMPL_VAR NAME="src"></code></pre>
-		<TMPL_IF NAME="expl"><TMPL_VAR NAME="expl"></TMPL_IF></longmessage>
+		<p><code class="input"><TMPL_VAR NAME="src"></code></p>
+		<p><a href="http://validator.w3.org/docs/errors.html#ve-<TMPL_VAR NAME="num">">Details...</a></p>
+	</longmessage>
 	    </error>
 	  </TMPL_IF></TMPL_LOOP>
 	</errorlist>
@@ -36,7 +37,10 @@
 	    <line><TMPL_VAR NAME="line"></line>
 	    <column><TMPL_VAR NAME="char"></column>
 	    <message><TMPL_VAR NAME="msg" ESCAPE="HTML"></message>
-	    <longmessage><TMPL_IF NAME="expl">""<TMPL_VAR NAME="expl"></TMPL_IF></longmessage>
+	    <longmessage>
+	    	<p><code class="input"><TMPL_VAR NAME="src"></code></p>
+			<p><a href="http://validator.w3.org/docs/errors.html#ve-<TMPL_VAR NAME="num">">Details...</a></p>
+	    </longmessage>
 	  </warning>
 	</TMPL_IF></TMPL_LOOP>
       </warninglist>

Received on Tuesday, 5 September 2006 04:03:09 UTC