Jump to content

[SOLVED] Mangled Product Description HTML Code - After update from 154 to 156


Recommended Posts

I've attempted to add a youtube vid into product description (as a test so I know of any drawbacks before planning to use them) and I've stumbled onto a larger problem.

 

 

I clicked the media button & added the source url.

 

I clicked "save and stay" button (happens with "save" button also).

 

This error displayed: The description field (English (United States)) is invalid.

 

I then checked the code by clicking the "HTML" button and thats when I noticed the code was JACKED UP!

 

It adds slashes and character html like its trying to escape the quotes and... observe below.

 

 

Here's what the code looks like before saving:

<p><iframe src="http://www.youtube.com/embed/LSGLBxlBqJQ?rel=0" width="720" height="440"></iframe></p>

then after saving, it becomes this:

<p><iframe src="\"http://www.youtube.com/embed/LSGLBxlBqJQ?rel=0\"" width="\"720\"" height="\"440\""></iframe></p>

In the media UI it previews the video, so I know it works, but whatever validation is going on is BORKing the code.

 

Even simple hyperlinks get mangled.

My pre-existing CMS pages and products are ok, but if I edit anything, I'm in trouble.

It will be a problem for linking between products & CMS pages.

 

Anyone have a clue what's going on? I'm thinking it can be a simple (temporary) fix or maybe something didnt go right in the update.

 

Any help is appreciated.

Link to comment
Share on other sites

×
×
  • Create New...