To reproduce:
1. Create a node with a title "< > become &lt; and &gt;"
2. View the node

The title becomes "< > become < and >"

Comments

Steven’s picture

Try this with the latest CVS.

Steven’s picture

(most likely, you have an outdated version of CVS or PHPTemplate)

mleicester’s picture

Version: » 4.6.0

Thanks for the tip Steven, but I'm still getting inconsistent rendering of nodes with titles containing strings such as "&lt;". I have the 4.6.0 versions of Drupal and PHPTemplate.
To reproduce:
1. Create a node with title, e.g. "&amp; 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".

Steven’s picture

Project: Drupal core » PHPTemplate
Version: 4.6.0 »
Component: node system » Code

The 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.