HTML: Private tag
Richard Gaskin
ambassador at fourthworld.com
Sat Dec 31 14:17:31 EST 2011
Hugh Senior wrote:
> Can someone please remind me of the syntax to include a 'private' tag in the
> htmlText (one that can contain string data and is not removed by LC)?
So far the only solution I've found for embedding metadata in text is to
use a name attribute within an anchor tab, e.g.:
<a name="some arbitrary data">There's the text</a>
When an anchor tag has no href attribute it's not rendered as a link,
which makes it okay for this sort of metadata.
However, if you later add an href attribute it will remove the name
attrbute; apparently name and href are mutually exclusive in the current
implementation.
To provide more flexibility for this sort of thing I've submitted a
request to support the span tag:
<http://quality.runrev.com/show_bug.cgi?id=9849>
--
Richard Gaskin
Fourth World
LiveCode training and consulting: http://www.fourthworld.com
Webzine for LiveCode developers: http://www.LiveCodeJournal.com
LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
More information about the use-livecode
mailing list