coldfusion - How to use Replace() to replace HTML encoded characters in a string -
i have html encoded content i'm placing in meta tag. need replace line breaks in represented in html encoded text <br />
.
i thought this:
#replace(rsresult.description, '<br />', '', 'all')#
but keeps throwing error. html encoded part want remove whats causing issue. don't know why cf can't treat part text remove string.
how successfully?
you need escape # character. code should #replace(rsresult.description, '<br &##x2f;>', '', 'all')#
coldfusion coldfusion-10
No comments:
Post a Comment