1 users online. Create an account or sign in to join them.Users
A bug in 2.2, submitted by nickdunn on 02 December 2010
Symphony's issue tracker has been moved to Github.
Issues are displayed here for reference only and cannot be created or edited.
Try adding this as the XML:
After saving the result:
I think the problem is due to double quotes:
$result = "<test>$a</test>";
Inside content.blueprintsdatasources.php I’ve replaced line #1026 (Symphony 2.1.2):
'$result = "%s";',
'$result = \'%s\';',
It works but I bet there are smarter ways to fix that. ;)
Works for me, essentially passing it as a literal will stop this bug, so added in this commit
You can simplify it if you want.
$value = sprintf("\$result = '%s';", addslashes(trim($fields['static_xml'])));
This issue is closed.
Contact the team
Symphony • Open Source XSLT CMS