Rending HTML Entities in HTMLtext in fields
Richmond Mathewson
richmondmathewson at gmail.com
Sat Jul 25 18:07:04 EDT 2009
Sivakatirswami wrote:
> Is there a way to get htmlEntities
>
> "“Kanwar”
>
> The rest of their lifestyle — names, marriage rituals, dressing
> styles — continued to be the same...."
>
> to appear correctly in a field where such enties are part of the html
> used to set the htmltext of a field?
>
>
Try this:
on mouseUp
set the useUnicode to true
set the htmlText of fld "fOUT" to "<p> “ Kanwar ” The
rest of their lifestyle — names, marriage rituals, dressing styles
— continued to be the same.... </p>"
end mouseUp
something happens; whether those are the characters you expect I don't
just know.
NOTE: set the useUnicode to true
NOTE: <p> </p>
Love, Richmond.
More information about the use-livecode
mailing list