HTML Special Entity Codes in Actionscript3/Flex
Posted
by BlairHippo
on Stack Overflow
See other posts from Stack Overflow
or by BlairHippo
Published on 2010-06-08T21:09:34Z
Indexed on
2010/06/08
21:12 UTC
Read the original article
Hit count: 183
I have a Flex/Actionscript 3 application that displays RSS feeds in a Text element. It strips out any HTML formatting present, but it's not handling HTML special entity codes properly -- it's rendering &mdash
as the literal string instead of replacing it with an em-dash, etc. Is there any systematic way I can make it handle those codes properly, or am I going to need to manually replace those strings regex style?
© Stack Overflow or respective owner