This content has been marked as final. Show 3 replies
"MCH21" <firstname.lastname@example.org> wrote in message
> I'm having a problem displaying htmlText properly in Text and TextArea
> My application has a Rich Text Editor control which allows users to enter
> and save it to a MySQL database via PHP. No modifications are made to the
> before saving it in the database. When the saved text is retrieved from
> database and displayed in the Rich Text Editor control the text is
> exactly how it was entered. However if I retrieve the text from the
> and display it using a Text or TextArea control the first line is always
> indented even though the text is not entered with any indentations and
> are no indentations when the text is displayed in the Rich Text Editor
> Anyone have an idea what could be causing this?
Try setting prettyPrinting and prettyIndent on the XML object to false.
You'd have to debug it and look at what your PHP code is returning.
It may be an interaction between your db and the PHP code.
FYI: The prettyIndent setting (an integer) can simply be ignored if you set prettyPrinting to false.