Mahoutsoukai

HTML tags characters appearing "literally" in toolText

Recommended Posts

See example:

 

 

 

 

 

 

Run mouse pointer over visible marker and observe tool text.

 

 

 

this is the code I am using, cribbed (correctly, as best as I can tell, but with the "<" characters removed) from the FusionMaps examples:

 

 

 

markers>

 

definition>

 

marker id='CO' x='248.74' y='183.05' />

 

/definition>

 

application>

 

marker id='CO' shapeId='arc' toolText='Canada<BR>2 Managers<BR>11 Staff'/>

 

/application>

 

/markers>

 

 

 

Why are the HTML tags appearing?

 

 

 

If you wish, I can post the entire block of code, minus the "<" tags removed, since apparently we can't post large blocks of code on the forum.

 

 

 

Many thanks in advance,

 

 

 

Keith Morse

Edited by Guest

Share this post


Link to post
Share on other sites

In the text in quotes, you have to replace the angular brackets '<', '>' by their HTML equivalents, i.e. (ampersand)lt; and (ampersand)gt; to make it HTML compatible... then it works for me, anyhow

Edited by Guest

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now