HOw to get htmltext from the field to display in another field

Mark Wieder ahsoftware at sonic.net
Sun Sep 20 16:20:45 EDT 2020


On 9/20/20 1:10 PM, J. Landman Gay via use-livecode wrote:

> As an aside, I first thought that this would work:
> 
>    if the htmltext of field "mainText" <> the text of field "mainText" 
> then -- plain text is in the field
> 
> which does return "false" correctly. But when I set the text of the 
> field to the htmltext of the field and run the same test, it also 
> returns "false". I'm not sure why.

I don't see why that would ever return true.
If you set the text of the field to the htmltext of the field, then 
isn't the htmltext of that the htmltext of the htmltext?


-- 
  Mark Wieder
  ahsoftware at gmail.com




More information about the use-livecode mailing list