Support » Plugin: CM Tooltip Glossary » Single quotes in tooltip are slashed

  • Resolved Dylan Kuhn


    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);

Viewing 1 replies (of 1 total)
  • Plugin Author CreativeMinds


    thanks for reporting. Will be fixed in coming version release

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