Skip to content
This repository has been archived by the owner on Oct 6, 2021. It is now read-only.

HTML special characters if present in title are not rendered in popup #131

Open
sandeepan-nath opened this issue Jul 12, 2013 · 1 comment

Comments

@sandeepan-nath
Copy link

E.g. this title -

Test %<title>

Shows only the following in popup -

Test %

I made the following change in the plugin code -

Changed the following -

$cluetipTitle.show().html(titleHTML);

to

$cluetipTitle.show().text(titleHTML);

in the following place -

 if (titleHTML) {
        $cluetipTitle.show().html(titleHTML);
      } else {
        $cluetipTitle.hide();
      }

It seems to fix the issue. Please check.

Thanks,
Sandeepan

@kswedberg
Copy link
Owner

Hi @sandeepan-nath. Can you try the very latest build (that I just pushed) with the escapeTitle option set to true? That should work for you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants