WordPress.org

Forums

CM Tooltip Glossary
[resolved] Single quotes in tooltip are slashed (2 posts)

  1. Dylan Kuhn
    Member
    Posted 1 year ago #

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

    http://wordpress.org/plugins/enhanced-tooltipglossary/

  2. CM Plugins
    Member
    Plugin Author

    Posted 1 year ago #

    thanks for reporting. Will be fixed in coming version release

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • CM Tooltip Glossary
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.