Forum Bug: Quotation Marks When Uploading Media Titles/Alt-Texts

Forum Bug: Quotation Marks When Uploading Media Titles/Alt-Texts

Hi,

Consider this image of a red square:

some normal alt-text

I've set the alt-text to be "some normal alt-text" and the title text to be "some normal title text". Now, watch what happens if I add quotation marks ("\"some quoted alt-text\"", "\"some quoted title text\") before uploading:

[[{"fid":"599894","view_mode":"default","fields":{"format":"default","field_file_image_alt_text[und][0][value]":"\"some quoted alt-text\"","field_file_image_title_text[und][0][value]":"\"some quoted title text\"","field_style":"","media[field_big_photo]":"","field_big_photo[fid]":"0","field_tags[und]":""},"type":"media","attributes":{"alt":"\\\"some quoted alt-text"","title":"\\\"some quoted title text"","height":100,"width":100,"class":"media-element file-default"},"link_text":null}]]

It looks okay in the editor, but it seems to show the bracketed forum code on the actual post.

Ian

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi,

I have reported this to our web operations team.

Regards, Hal

Intel(R) Developer Zone Support

https://software.intel.com
*Other names and brands may be claimed as the property of other

 

 

Hi Ian,

Can you verify that this works now?

Regards, Hal

Intel(R) Developer Zone Support

https://software.intel.com
*Other names and brands may be claimed as the property of other

 

 

"\"some quoted alt-text\"" / "\"some quoted title text\"

"some quoted alt-text"

Leave a Comment

Please sign in to add a comment. Not a member? Join today