thanks. this worked.
<cfoutput>
#HTMLEditFormat("<cfset return = test)>")#
</cfoutput>
On Wed, Dec 10, 2014 at 12:13 PM, Alan Cole <[email protected]> wrote:
> Jason,
>
> have you tried the function HTMLEditFormat?
>
> Thanks,
> Alan Cole
> (PGP Key ID: 0x82D8E0C7)
>
>
>
> Begin forwarded message:
>
> > From: Jason Allen <[email protected]>
> > Subject: [OpenBD] Displaying CFM code within CFM document (want code
> displayed in browser.. code is 'example' code)
> > Date: December 10, 2014 at 1:10:08 PM EST
> > To: [email protected]
> > Reply-To: [email protected]
> >
> > I'm trying to figure out how I can, within a .cfm document, keep cfml
> from being rendered.
> >
> > I basically want to escape it, and have CFML treat it like text.
> >
> > For instance, if I have a <cfset myVar = 1> how can I wrap it so that
> the code is printed, and not evaluated?
> > --
> > --
> > online documentation: http://openbd.org/manual/
> > http://groups.google.com/group/openbd?hl=en
> >
> > ---
> > You received this message because you are subscribed to the Google
> Groups "Open BlueDragon" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected].
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> --
> online documentation: http://openbd.org/manual/
> http://groups.google.com/group/openbd?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Open BlueDragon" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
---
You received this message because you are subscribed to the Google Groups "Open
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.