• Resolved Simon

    (@simonmaddox)


    Using an apostrophe in the map’s tool tip causes a slash to be left in when published on the site. It does not appear in the Gutenberg block preview on the edit page. Can it easily be fixed?

    e.g. Diana’s Sewing Shop appears as Diana\’s Sewing Shop

    Also concerned this may be a security weakness and a possible exploit.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Simon

    (@simonmaddox)

    As a short-term fix I have added the following into /assets/blocks/map/frontend.js at line 20, but there’s probably a better way to do it:

            title = title.replace(/\\/g, '');
    
    Plugin Author htmgarcia

    (@htmgarcia)

    Hi @simonmaddox,
    I was able to reproduce the issue in my end. We’ll fix and include in our next release if possible.

    Thanks for the fix suggestion! We really appreciate it.

    Thread Starter Simon

    (@simonmaddox)

    A bit disappointed this bug was still in the recent upgrade, but hopefully a fix in the next release?

    Plugin Author htmgarcia

    (@htmgarcia)

    Hi @simonmaddox,
    we have this issue in our radar. We’ll do our best to include the fix in the next release.
    ___
    Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Unwanted forward slash in map tool tip’ is closed to new replies.