Skip to content

Instantly share code, notes, and snippets.

@ElfhirDev
Last active December 18, 2015 13:39
Show Gist options
  • Save ElfhirDev/5791397 to your computer and use it in GitHub Desktop.
Save ElfhirDev/5791397 to your computer and use it in GitHub Desktop.
How to delete things annoying in a "eZ Publish XML dataypes" for a JSON includes.
{
def $outputXML = $myObject.data_map.myBlocXML.content.output.output_text|explode('"')|implode('\\"')|explode("\n")|implode(' ')|trim()}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment