strange htmltext problem

Klaus on-rev klaus at major.on-rev.com
Tue Sep 18 10:37:41 EDT 2012


Hi friends,

I have a strange htmltext problem with LC 5.52 while working on a rating thing (5 stars etc..) with a LOCKED field :-)

I have this script:
on mouseUp
   put "12345" into fld 1
   repeat with i = 1 to 5
      set the imagesource of char i of fld 1 to 1005
   end repeat
end mouseUp

Works fine, 5 white stars appear, and when I check the htmltext of fld 1 I get:
RETURNS added for readability
<p>
<img src="1005" char="1">
<img src="1005" char="2">
<img src="1005" char="3">
<img src="1005" char="4">
<img src="1005" char="5">
</p>

Fine so far, but when I set the htmltext of that field to the (Livecode approved?) string above, only ONE star appears
and the htmltext reports:
<p>
<img src="1005" char="12345">
</p>

WTF? 
What am I missing?

Any hints very appreciated!


Best

Klaus

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





More information about the use-livecode mailing list