jquery-cluetip
jquery-cluetip copied to clipboard
HTML special characters if present in title are not rendered in popup
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
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.