I don't see any flags you can change to affect that. Can you just replace text-align with align before importing?
On 3/13/14 8:46 AM, "Cristina Constantinescu" <[email protected]> wrote: >Hi, > >I have the following code: > >public var str1:String = "<html><p>This is a loooooooooooooong >message.</p><p style='text-align: center'>Short message</p>"; >public var str2:String = "<html><p>This is a loooooooooooooong >message.</p><p align='center'>Short message</p>"; > ><s:RichText textFlow="{TextConverter.importToFlow(str1, >TextConverter.TEXT_FIELD_HTML_FORMAT)}" /> ><s:RichText textFlow="{TextConverter.importToFlow(str2, >TextConverter.TEXT_FIELD_HTML_FORMAT)}" /> > >The second RichText sets paragraph style correctly, the first one doesn't. >Is there a way to make this work? > >Thanks, >Cristina
