With the following test case

<cfsavecontent variable="sHTMLFragment">

Hello World


<a href="www.google.com">www.google.com</a>


Another example

</cfsavecontent>


<cfset doc=htmlgetprintabletext(sHTMLFragment)>


<cfdump var="#doc#">


I get this

Hello World www.google.com <www.google.com> Another example

The <www.google.com> I wasn't expecting to see ?

the cflib striphtml will definitely do what Jason wants just stripping the
tags and leaving the contents

Thoughts ?

Alex


On 16 November 2011 22:37, Alan Williamson (aw2.0 cloud experts) <
[email protected]> wrote:

> http://openbd.org/manual/?/**function/htmlgetprintabletext<http://openbd.org/manual/?/function/htmlgetprintabletext>
>
> Look at this function .. it might get you where you need to go
>
>
> --
> official tag/function reference: http://openbd.org/manual/
> mailing list - 
> http://groups.google.com/**group/openbd?hl=en<http://groups.google.com/group/openbd?hl=en>
>



-- 
Alex Skinner
Managing Director
Pixl8 Interactive

Tel: +448452600726
Email: [email protected]
Web: pixl8.co.uk

-- 
official tag/function reference: http://openbd.org/manual/
 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to