W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 1999


From: Darren Forcier <dforcier@allaire.com>
Date: Mon, 27 Sep 1999 15:33:51 -0400
Message-ID: <C3843BD1B83DD2119D79000092A7BAD4026A995C@PLATINUM.allaire.com>
To: "'html-tidy@w3.org'" <html-tidy@w3.org>
The fixes for the custom tag support are working great. I can now set up
new-blocklevel-tags and new-inline-tags for tidy configurations.
I did find one problem. Not sure if there is an easy way to fix it though. I
realize that this is a ColdFusion markup language issue but I'm sure it will

apply to other scripting languages that use the <> for delimiters (PHP,
If I have a custom processing tag like ColdFusion's <CFIF (expression) > tag
and run it through Tidy with a custom tag configuration for it, the
following happens:
(old version)
<CFIF True IS True>
   This should always be output 
<CFELSE>This will never output 
(html-tidied version)
<CFIF True="" IS="" True=""> This should always be output <CFELSE> </CFELSE>
Two problems are occurring here. The CFIF tag expression "True is True" is
being parsed and each item is being treated like
it was a separate attribute. The second thing that is happening is the
insertion of the extra </CFELSE>.  The second problem
is not really an issue, but if there was some way to turn off automatic
attribute generation that would be a good thing.
Now I'm off to go play with the Word-2000 feature... <g>
Darren Forcier
Allaire Corp
Received on Monday, 27 September 1999 15:28:28 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:46 UTC