Nodes that contain apostrophe's cause Javascript to die when trying to view them through a views-created map. The attached patch escapes them with a backslash.

It also changes the default <p></p> theming in that function with <div class="[fieldname]"></div> for added themability and to fix another issue: the existing method created invalid xhtml - I think - when including body and taxonomy elements as they added their own paragraph tags.

CommentFileSizeAuthor
#1 gmap_themabilityandescaping.diff.txt1.03 KBgeodaniel

Comments

geodaniel’s picture

StatusFileSize
new1.03 KB

Erm, and the patch... :)

geodaniel’s picture

Status: Needs review » Reviewed & tested by the community

webgeer has committed this patch to the HEAD branch, though it's not yet in the DRUPAL-4-7 branch

geodaniel’s picture

Status: Reviewed & tested by the community » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)