- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 08 Jun 2010 14:59:52 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/share/templates/en_US In directory hutz:/tmp/cvs-serv16477/share/templates/en_US Modified Files: ucn_output.tmpl Log Message: do not specify line and column attributes if empty Index: ucn_output.tmpl =================================================================== RCS file: /sources/public/validator/share/templates/en_US/ucn_output.tmpl,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- ucn_output.tmpl 1 Jun 2010 17:48:32 -0000 1.24 +++ ucn_output.tmpl 8 Jun 2010 14:59:50 -0000 1.25 @@ -104,6 +104,9 @@ <TMPL_LOOP NAME="file_errors"> +#set ($line=<TMPL_VAR NAME="line">) +#set ($column=<TMPL_VAR NAME="char">) + <TMPL_IF NAME="have_warnings"> <message type="warning"> <title><TMPL_INCLUDE NAME="ucn_warnings.tmpl"></title> @@ -112,14 +115,14 @@ <TMPL_IF NAME="err_type_err"> <message type="error"> - <context line="<TMPL_VAR NAME="line">" column="<TMPL_VAR NAME="char" ESCAPE="HTML">"><TMPL_VAR NAME="src"></context> + <context #if($line)line="$line"#end #if($column)column="$column"#end>"><TMPL_VAR NAME="src"></context> <title><TMPL_VAR NAME="msg" ESCAPE="HTML"></title> </message> </TMPL_IF> <TMPL_IF NAME="err_type_warn"> <message type="warning"> - <context line="<TMPL_VAR NAME="line">" column="<TMPL_VAR NAME="char" ESCAPE="HTML">"><TMPL_VAR NAME="src"></context> + <context #if($line)line="$line"#end #if($column)column="$column"#end>"><TMPL_VAR NAME="src"></context> <title><TMPL_VAR NAME="msg" ESCAPE="HTML"></title> </message> </TMPL_IF>
Received on Tuesday, 8 June 2010 14:59:56 UTC