Problem with setting htmlText of field to empty in LiveCode 6.6 RC2

Trevor DeVore lists at mangomultimedia.com
Wed Mar 19 15:08:18 EDT 2014


On Wed, Mar 19, 2014 at 2:36 PM, Scott Rossi <scott at tactilemedia.com> wrote:

> Maybe it helps (or hinders) to consider the fact the following renders as
> empty in a web browser, even though clearly there is code content present:
>
> <html>
> <body>
> </body>
> </html>
>

True. But doesn't <p></p> mean that you have 1 empty paragraph? I think
that the HTML returned by LiveCode (1 empty paragraph) is different than
what is present in the field (nothing).

Since the htmltext is a property of a field, and no an entire document, I'm
inclined to say that the htmltext should return empty and not <p></p> when
there is not text present.

-- 
Trevor DeVore
Blue Mango Learning Systems
www.screensteps.com    -    www.clarify-it.com



More information about the use-livecode mailing list