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

Klaus major-k klaus at major-k.de
Wed Mar 19 10:04:56 EDT 2014


Hi Tim,

Am 19.03.2014 um 15:02 schrieb Tim Bleiler <bleiler at buffalo.edu>:

> On Mar 19, 2014, at 9:39 AM, Klaus major-k wrote:
>>> Are others seeing this and is it a bug?
>> since <p></p> is in fact the HTML equivalent to "empty/no text" I would not consider this a bug :-)
> Thanks Klaus, I thought I should check on that before putting in a bug report. It seemed too obvious to have been missed.
> It does create an odd condition by Livecode standards however that you can set the htmlText to empty, then immediately test if the htmlText is empty and it returns false.
> I suspect that could confuse some people.
> Out of curiosity, do you know how "something" ( <p></p> ) came to be regarded as equivalent to empty?

sorry, not the slightest idea :-)

> Tim

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de





More information about the use-livecode mailing list