Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am theming an xml export.
Unfortunately, square brackets in the various template files are being translated. So...
<title><?php print $output; ?></title>
...becomes
<title>Pause for Thought</title>
...and does not look like xml, at least it doesn't in Firefox - I don't know if it matters?!
How do I get the output to resemble proper xml brackets?
Comments
Comment #1
andrew smith CreditAttribution: andrew smith commentedFound a solution:
views_bonus_export.theme.inc
...contains code that converts brackets, ampersands, etc. to html.
- simply delete those lines.
Comment #2
neclimdul