Needs work
Project:
Creative Commons
Version:
6.x-1.0-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 May 2010 at 06:05 UTC
Updated:
10 Aug 2010 at 19:36 UTC
e.g. apostrophe in node title is output in block as '
A quick look at the code suggests that the issue arises because creativecommons.class.php calls get_rdf() that in turn calls check_metadata() that sanitises the metadata values in place. These are later re-sanitised when used via @ placeholders in get_html().
My suggestion is to drop check_metadata() and output the rdf via standard Drupal placeholders.
Comments
Comment #1
turadg commentedThanks for the suggestion Jonathan.
Anyone up for fixing this so we can release 1.0?