Kay C Lan
lan.kc.macmail at gmail.com
Tue Oct 1 00:30:48 CEST 2013
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
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.
On Tue, Oct 1, 2013 at 6:17 AM, Peter Haworth <pete at lcsql.com> 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?
> lcSQL Software <http://www.lcsql.com>
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode