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

Klaus major-k klaus at major-k.de
Wed Mar 19 09:39:15 EDT 2014


Hi Tim,

Am 19.03.2014 um 14:30 schrieb Tim Bleiler <bleiler at Buffalo.EDU>:

> Hi,
> 
> After doing a quick check, this problem has existed for at least a couple of versions, but I just noticed it. 
> 
> I've only checked on a Mac.
> When a new field is created it appears to be empty but the htmlText of the field is <p></p>.
> The number of lines reported for the field is 0.
> The text of the field is empty but the htmlText of the field is not.
> If you set the htmlText of the field to empty then test if the htmlText of the field is empty it is reported as false.
> 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 :-)

> Tim Bleiler, Ph.D.
> Instructional Designer, HSIT
> University at Buffalo

Best

Klaus

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





More information about the use-livecode mailing list