WoW:API SimpleHTML SetText

Revision as of 21:27, 14 September 2005 by WoWWiki>Flickering
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

PLACEHOLDER CONTENT WHILE I WRITE A REAL PAGE:

Accepts content in one of two forms.. "HTML" and "Plain"..

Plain form is the normal WoW markup with pipe delimiters.

HTML form uses a subset of HTML (You seem to be able to have WoW markup in the data) with the following tags:

HTML BODY

Within the BODY tag, you can have: H1 H2 H3 P BR IMG

H1, H2, H3, and P are identical unless you've specified header fonts in the XML for the frame.

Within H1, H2, H3 and P, you can have BR and A tags.

The P H1 H2 and H3 tags can have align attributes The IMG tag can have align, width, height, and src attributes.

I think most entities are supported, but I'm not sure. Non-ascii characters need to use the &#NNN; encoding (I think that's the right format)