Topic: Card Tooltip & Apostrophe(s)

I am trying to use your tooltip plugin within a WordPress 7 blog.

It seems to work great UNLESS the name of the card contains an apostrophe, i.e. Nissa's Chosen, Eyeblight's Ending, Angel's feather. Now, of course, it's working here but not on my blog. Feel free to check it out for yourself at www.dotpstats.com/blog and look for (Ctrl+F) Nissa to find such a card, compare with the other, working card tooltips when there isn't an apostrophe in the name.

Thanks in advance

UPDATE: my findings so far, within WordPress 7 HTML editor:

Eyeblight's Ending surrounded by the bracketted mtg_card DOESN'T work
Eyeblight's Ending surrounded by the bracketted mtg_card, then (outside) surrounded by html PRE tag DOES work
Eyeblight's Ending surrounded by the bracketted mtg_card, WITH the apostrophe substituted for its HMTL code (without space of course: & # 3 9 ; ) DOES work

I hope that can be useful for anyone.

Last edited by LAFrenchy (2011-02-23 16:29:45)

Re: Card Tooltip & Apostrophe(s)

For some reason it is setting the URL as:

<img src="http://deckbox.org/mtg/Nissa%E2%80%99s%20Chosen/tooltip">

which is the UTF-8 escaping, but not correct for use in a URL I don't think.

Re: Card Tooltip & Apostrophe(s)

hi LaFrenchy,

The problem comes from wordpress auto formating the text, replacing the apostrophe with a "more format matching" one. On our site (gameflux.ro) we used the HTML code but the "pre" tag does the same thing (disables formating)

Last edited by Spoook (2011-02-23 21:45:57)