Thanks for the link to the thread. I've been using regular expressions to strip tags out, but my main problem at the moment is handling lists.
Since there are no <UL> tags (only <LI> tags) I haven't yet figured out how to add <UL> and </UL> tags to properly enclose <LI> tags. The problem becomes more difficult when multiple lists are in the Rich Text since there's no easy way to tell where one begins and one ends. I think it's odd that Flex 2 doesn't supply some sort of utility to convert from Flash Rich Text to standard HTML. If any regular expression guru knows how to prepend a <UL> and append </UL> to a list (and determine where one list begins and ends), I'd really appreciate seeing a RegExp expression to do this. Paul --- In [email protected], "greg h" <[EMAIL PROTECTED]> wrote: > > Paul, > > There were several threads here on FlexCoders back in August and September > about issues with RichTextEditor. > > Here is the link for a post by Stefan Schmalhaus regarding his workaround > for the non-standard html: > http://tech.groups.yahoo.com/group/flexcoders/message/46530 > > And this link has comments I later posted on that same thread: > http://tech.groups.yahoo.com/group/flexcoders/message/49787 > > hth, > > g > > On 12/29/06, Paul Whitelock <[EMAIL PROTECTED]> wrote: > > > > Is there some sample code anywhere that shows how to convert > > "htmlText" generated by the RichTextEditor to standard HTML? For > > instance, when adding a bulleted list in the RichTextEditor it > > generates <LI> tags but no enclosing <UL> tag. Any pointers are > > appreciated.... > > > > Paul > > >

