Needs review
Project:
Inline and link Drupal objects (Linodef)
Version:
6.x-1.x-dev
Component:
Code (general)
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Dec 2010 at 11:22 UTC
Updated:
14 Dec 2010 at 12:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
mrfelton commentedChanging
class='embedded-content'toclass="embedded-content"(using double quotes instead) gets it working again, but then you end up with a broken tag. e.g.[#related_content,type="view",nolink,attributes="class="embedded-content"",visibility="full",display="block_1"]Comment #2
mrfelton commentedThe attached patch resolves by html encoding the attributes.
Comment #3
mrfelton commentedAttached patch works slightly better, only encoding the string version. This ensures that when the array is themes as an item list (in the popup help text) there is no double encoding.