• Resolved Dylan Kuhn

    (@cyberhobo)


    In version 2.2.3 a single quote in a definition gets a backslash added in front of it in the tooltip. I traced it to glossary.php:255:

    $glossaryItemContent = addslashes($glossaryItemContent);

    guessing that the intent is to make the content attribute-safe, I changed it to this to fix the issue:

    $glossaryItemContent = esc_attr($glossaryItemContent);

    https://www.ads-software.com/plugins/enhanced-tooltipglossary/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Single quotes in tooltip are slashed’ is closed to new replies.