WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Dylan Kuhn
    Member
    Posted 8 months 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 8 months ago #

    thanks for reporting. Will be fixed in coming version release

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.