html to pure text

Phil Davis revdev at pdslabs.net
Sun Jan 21 19:39:06 EST 2007


This is also a good way to make sure 'entity' chars display correctly in the 
field of a cross-platform Rev app regardless of the platform. Set up the field 
text on your favorite platform, store the htmlText of the field in a custom 
property; then upon openStack (or whatever your trigger is) set the htmlText of 
the field to what's in the custom prop. This bypasses the need for using 
macToIso() and isoToMac() functions.

Phil Davis


Mark Smith wrote:
> Well, assuming that you want to display the text, if your HTML in a 
> variable "someHtml" then you can
> set the htmlText of fld "someField" to someHtml.
> 
> Best,
> 
> Mark
> 
> On 21 Jan 2007, at 20:26, R. Hillen wrote:
> 
>> Hello list,
>>
>> I suspect, there is a very simple solution, which I dont´t find:
>>
>> How to transcode "&" to "&"  or "ß" to "ß"?
>>
>> Thank you in advance,
>>
>> Richard



More information about the use-livecode mailing list