Om,

In my opinion the way how we are adding now html text by InnerHTML bead is
quite good. We have one centralized way without messing MXML. 

Can we just inside InnerHTML:

1) Add this text as textNode - would it be working ? - We are more safe with
textNode
2) Add as a second step escapeHTML function as author of this article [1]
suggest ?

[1] http://benv.ca/2012/10/02/you-are-probably-misusing-DOM-text-methods/

Is this make sense ?

Piotr





-----
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.2333347.n4.nabble.com/FlexJS-How-to-add-html-content-tp57697p57717.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to