Navigation überspringen

[Gelöst] FORMS/CRED: Saving destroys apostrophes in JS (” / ‘) adds infinite backslashes

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem:

The issue here is that the formatting of the user's js script is being destroyed when added to a Toolset form JS editor.

Solution:

This is a known issue and we have an errata setup for this.

https://toolset.com/errata/quotes-in-the-extra-css-or-js-content-will-get-backslashed/

This support ticket is created vor 6 Jahren, 5 Monaten. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Dieses Thema enthält 3 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Shane vor 6 Jahren, 4 Monaten.

Assistiert von: Shane.

Author
Artikel
#1081354
broken.JPG

Since I cannot reopen my last thread I had to put up a new one:

https://toolset.com/forums/topic/forms-cred-saving-destroys-apostrophes-in-js-adds-infinite-backslashes/#post-1081346

Unfortunately the latest Forms version did not include the fix provided. And furthermor the fix and this version make it even worse. The backend shows the code properly but in the source it is messed up like before. All those backslashes are added again! 🙁

Thanks in advace!

#1081374

Shane
Supporter

Sprachen: Englisch (English )

Zeitzone: America/Jamaica (GMT-05:00)

Hi Konstantin,

Thank you for contacting our support forum.

I've checked and see that this was reported again by another supporter.

Currently i'm following this internal issue and will post any new information as I get it.

Thanks,
Shane

#1083876

Shane
Supporter

Sprachen: Englisch (English )

Zeitzone: America/Jamaica (GMT-05:00)

Hi Konstantin,

I took another look at this for you and the patch actually works.

What you need to do is to remove the backslashes then apply the patch. This should cause it to start working.

Thanks,
Shane

#1094119

Shane
Supporter

Sprachen: Englisch (English )

Zeitzone: America/Jamaica (GMT-05:00)

resolved