2 Replies Latest reply on Jul 24, 2012 1:37 PM by straffenp

    Replace with CSS?

    straffenp Level 1

      Hi all,


      I have some text with HTML markup saved in a DB that I'd like to output. The saved text includes some <p> tags, but when outputting, I'd like to apply a style, so I used #replaceNoCase(MessageBody,"<p>","<p class="Copy">","all")#, but I get an invalid CFML construct error. I'm sure it's because of the quotes around "Copy".  Is there a way around this?


      Thanks a lot!