W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 1999

Modification to Tidy to Ignore Java Script Template Engine Tags

From: Al Medeiros <al_medeiros@hotmail.com>
Date: Mon, 29 Nov 1999 18:03:56 PST
Message-ID: <19991130020356.46649.qmail@hotmail.com>
To: html-tidy@w3.org
We are using the Java Script Template Engine on some of our web pages and 
would like to process the html with Tidy.  The format of the JSTE tag is 
<#...stuff...#>.  I have modified Tidy to ignore everything between <# and 
#>.  This let's our html coders work with the code and tidy it without 
breaking the JSTE tag.  I was able to do this for the command line version 
of Tidy by modifying html.h, lexer.c, parser.c and pprint.c.  I have 
attached a zip file that contains these four modified files (these files are 
modified from the tidy24nov99 base).  I would like this modification in the 
Tidy plugin in the HTML-Kit but I am unable to get that working.  I am 
hoping Chami may consider creating a plugin with this modification included.


Al Medeiros

Get Your Private, Free Email at http://www.hotmail.com

Received on Monday, 29 November 1999 21:04:28 UTC

This archive was generated by hypermail 2.3.1 : Friday, 13 July 2018 08:58:58 UTC