- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 07 Feb 2007 15:25:12 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/share/templates/en_US In directory hutz:/tmp/cvs-serv22962/share/templates/en_US Modified Files: result.tmpl jumpbar.tmpl Added Files: opt_show_tidy.tmpl Log Message: proof of concept HTML::Tidy output --- NEW FILE: opt_show_tidy.tmpl --- <div id="tidy"> <h2>Cleaned-up Source Listing</h2> <p>Below is the <em>cleaned up</em> markup for your document, as processed through <a href="http://tidy.sourceforge.net/">HTML Tidy</a>.</p> <p>The automatic clean-up is not guaranteed to make your markup valid or semantically correct, but should generally be helpful.</p> <pre class="source"> <TMPL_VAR NAME="tidy_output" ESCAPE="HTML"> </pre> </div> Index: jumpbar.tmpl =================================================================== RCS file: /sources/public/validator/share/templates/en_US/jumpbar.tmpl,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- jumpbar.tmpl 26 Jul 2005 06:50:42 -0000 1.7 +++ jumpbar.tmpl 7 Feb 2007 15:25:10 -0000 1.8 @@ -5,6 +5,10 @@ <TMPL_IF NAME="opt_show_source"> <li><a title="Listing of Source Input" href="#source">Source Listing</a></li> </TMPL_IF> + <TMPL_IF NAME="opt_show_tidy"> + <li><a title="Listing of cleaned-up Source Input" href="#tidy">Tidy Source</a></li> + </TMPL_IF> + <TMPL_IF NAME="opt_show_parsetree"> <li><a title="Document Parse Tree" href="#parse">Parse Tree</a></li> </TMPL_IF> Index: result.tmpl =================================================================== RCS file: /sources/public/validator/share/templates/en_US/result.tmpl,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- result.tmpl 26 Jul 2005 06:50:42 -0000 1.10 +++ result.tmpl 7 Feb 2007 15:25:10 -0000 1.11 @@ -28,6 +28,10 @@ <TMPL_INCLUDE NAME="opt_show_source.tmpl"> </TMPL_IF> + <TMPL_IF NAME="opt_show_tidy"> + <TMPL_INCLUDE NAME="opt_show_tidy.tmpl"> + </TMPL_IF> + <TMPL_IF NAME="opt_show_outline"> <TMPL_INCLUDE NAME="opt_show_outline.tmpl"> </TMPL_IF> @@ -44,8 +48,6 @@ <TMPL_INCLUDE NAME="opt_show_raw_errors.tmpl"> </TMPL_IF> - - </div><!-- end of "main" --> <TMPL_INCLUDE NAME="footer.tmpl">
Received on Wednesday, 7 February 2007 15:25:17 UTC