Minor htmlText bug

ron barber rbarber at yhb.att.ne.jp
Wed Mar 9 07:57:27 EST 2005


Don't know if its related or not but is the textfont of the fld you are 
pasting into, the same as the font of the text being pasted? Try 
setting the textfont of the field to something different and see if it 
doesn't force the htmltext to include font info.

Ron


On Mar 9, 2005, at 5:00 PM, Thomas McCarthy wrote:

>
> I've noticed a minor bug with saving the htmltext property of a field.
> I'm using macrons (long marks over vowels--unicode characters) with 
> some text. I copy some text from a word processing program and then 
> paste the rtftext from the clipboard to a field. I then save the 
> htmltext of the field as a custom property to access later.
>
> The problem is this. I notice that the first few letters got all mixed 
> up (up to the first macron?)
>
> I tracked the problem down to this:
> The beginging of the htmlText should look like this:
> <p><font face="Arial" color="#FF0000">....
> BUT it was this:
> <p><font  color="#FF0000">....
>
> pasting the mising  'face="Arial"', fixed the problem. Anyone else 
> experience this? I'm going to be doing a lot of text this way and 
> would rather not have to fix it everytime.
>
> thanks
> tm
>
> _______________________________________________
> Join Excite! - http://www.excite.com
> The most personalized portal on the Web!
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list