PDA

View Full Version : Line break issues


n00ge
10-14-2005, 01:27 PM
First off. I'd like to say the ability to have html in flash is awesome. For the work that is done, I love it. I've been using a CMS to with a wysiwyg editor to update text in their sites. However, I have two big issues with the rendering of html in flash.

1. Line breaks ( <br> ) that have no content between themselves and the end of a tag (EG: <br></p> ) still creates a line break where as HTML / XHTML does not. Issue is the same with list items, divs, etc...

2. Hyphens break to the second line as opposed to staying on the first line.
(EG: There are fourty
-five boxes in the back.

Where it should look like this:
There are fourty-
five boxes in the back. )

If anybody has any suggestions. This has really become an issue I'm going nuts over. I have done work trying to use regex in coldfusion to make it work correctly, but that has turned into a nightmare as well. Any help?