jquery-cluetip icon indicating copy to clipboard operation
jquery-cluetip copied to clipboard

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

Open sandeepan-nath opened this issue 11 years ago • 1 comments

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

sandeepan-nath avatar Jul 12 '13 07:07 sandeepan-nath

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.

kswedberg avatar Jul 15 '13 01:07 kswedberg