Tagged: x
-
AuthorPosts
-
March 31, 2016 at 3:04 am #860393
After 2 days slogging through the problems on my broken site, and being told it’s not related to the cornerstone update etc etc….
I have found the problem….
Add a text type element into cornerstone, and then put an ‘&’ into the text to be displayed using the effect. The ‘&’ causes the cs-body.min.js script to timeout and the page freezes.
I have had an ‘&’ on the pages I’ve had problems with for months…was definitely OK before the cornerstone update.
Have also noticed that sections with the column container switched on have had a 5px margin added since the update.
I must be due some sort of reward!….very glad to have found it, but 2 days work!
Regards, Chris.
March 31, 2016 at 4:05 am #860479Hello Chris,
We are just glad that you have figured it out a way to correct the said issue.
Thanks for letting us know!Best Regards.
March 31, 2016 at 4:40 am #860525Are you going to fix it?
March 31, 2016 at 6:26 am #860648Hi Chris,
We’ll forward this to our web development team for review.
Please stay tuned for updates.
Thanks
March 31, 2016 at 9:59 am #860924Hi Chris,
This is Alex, lead developer on Cornerstone. Our apologies for not being able to come to a resolution sooner. I start by giving you some information on what happened leading up to this.
In 1.2.0 we introduced some changes to assist with using HTML characters inside fields that become shortcode attributes. Because a shortcode attribute is wrapped in quotes, the contents need to be encoded. We added encoding when the page is saved in Cornerstone, and the shortcodes now decode those attributes back into working HTML.
We use a jQuery plugin called “Typed” to animate the text, and although their API claims to support HTML, it does seem to choke on the ampersand character. I’m sorry we didn’t catch this in our testing before the release.
This has been fixed in the next release by re-encoding the “Strings” field, effectively reverting it to the way it was before without full HTML support. Thank you for letting us know your findings on the issue, when this topic was brought to my attention it helped to have an idea of where to look, as you narrowed it down quite specifically. We’re grateful for this, although we don’t offer any rewards.
Keep an eye out for the next update with a bug fix.
March 31, 2016 at 10:29 am #860965I can also confirm this behavior with “&” characters in the “typed” section. I had this same problem after updated x and cornerstone today and so glad i saw this thread. removing the “&” fixed the issue, just had to be quick about it before the page crashed. thanks.
March 31, 2016 at 11:49 am #861089Glad to hear that worked for you as well.
-
AuthorPosts