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.
To reproduce:
1. Create a node with a title "< > become < and >"
2. View the node
The title becomes "< > become < and >"
Comments
Comment #1
Steven CreditAttribution: Steven commentedTry this with the latest CVS.
Comment #2
Steven CreditAttribution: Steven commented(most likely, you have an outdated version of CVS or PHPTemplate)
Comment #3
mleicester CreditAttribution: mleicester commentedThanks for the tip Steven, but I'm still getting inconsistent rendering of nodes with titles containing strings such as "<". I have the 4.6.0 versions of Drupal and PHPTemplate.
To reproduce:
1. Create a node with title, e.g. "& is troublesome", and promote it to the front page.
2. View the node - the title is ok.
3. Now navigate to the front page - the title is "& is troublesome".
Comment #4
Steven CreditAttribution: Steven commentedThe problem seems to be that PHPTemplate 4.6 is not up to date, because as I said the CVS version works perfectly. Moving to an appropriate area.
It seems the check_plain changes were not committed to the 4.6 branch.