Skip to main content
Known Participant
January 4, 2011
Question

need some help with cfoutput and <a> tag

  • January 4, 2011
  • 1 reply
  • 444 views

hey there,

got meself into some issues with <a> and <cfoutput> tags.

Problem:

myResult = <a href="http://www.mysite.co.uk" rel="nofollow">mysite</a>

<cfoutput>#myResult#</cfoutput> outputs "<a href="http://www.mysite.co.uk" rel="nofollow">mysite</a>" (surprise isn't it?)

now is there any way to output it as html so it would display a link to "mysite"???

cheers,

Simon

    This topic has been closed for replies.

    1 reply

    Inspiring
    January 4, 2011

    cfsavecontent

    Simon.DauAuthor
    Known Participant
    January 4, 2011

    thanks!

    I've missed the fact that it was xml data. Just added .xmlText at the end and that sorted my problems. However I'll write down cfsavecontent solution for the future reference.

    cheers,

    Simon