Never mind, I figured it out. It turned out to be an error in the
markup - someone when converting it to an htm file left in a stray
<cfif, and on top of it mistyped it as <cif

sigh, it must be friday.

larry

On Dec 18, 2:53 pm, larryclyons <[email protected]> wrote:
> Greetings,
>
> I'm trying to use htmltidy to clean up a large-ish html file of about
> 195K. There's no problem reading it in as a variable using cfinclude
> and cfsavecontent, but when I run the string variable through the
> htmltidy function, the result is an empty string. Here's the code I'm
> using:
>
> <cfsavecontent variable="stringToConvert">
>         <cfinclude template="largeHTMLFile.htm">
> </cfsavecontent>
> <cfset cleanedOutput = HtmlTidy("#stringToConvert#") />
> <cfdump expand="true" var="#variables#">
>
> when I try other, smaller files, no problem.
>
> any suggestions would be appreciated.
>
> thx,
> larry

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 mailing list - http://groups.google.com/group/openbd?hl=en

 !! save a network - please trim replies before posting !!

Reply via email to