New stack, 1 fleld, in the msg box: set the text of word 1 of line 1 of fld 1 to "<b>" set the htmlText of word 2 to -1 of line 1 of fld 1 to "<b>This is bold text</b>" put the htmlText of fld 1 into msg
The output I get is: <p><b><b> This is bold text</b></p> So you can either selectively set the text or the htmlText or you can use the &xx; codes and set just the htmlText. As always, a couple of ways to skin the cat. HTH On Tue, Oct 1, 2013 at 6:17 AM, Peter Haworth <[email protected]> wrote: > I'm setting the htmltext of a field but sections of the text in it which > include html tags need to be displayed as regular text (including the html > tags) instead of formatted html. > > Any ideas? > > Pete > lcSQL Software <http://www.lcsql.com> > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
