Hello,

I found a small problem in i18ntaxonomy_term_page: check_plain() is called 2 times on title.

If I have a term like "Applications & services" the & will then display as & in my page title when I will access taxonomy/term/% .

IMHO the problem is that the term name is first check_plained in function i18ntaxonomy_translate_term_name (line 24 of i18ntaxonomy.pages.inc) and a second time at line 28 of same file.

As a temporary fix I set the page title one more time in my theme implementation of theme_i18ntaxonomy_term_page but I'm not very happy with this solution ;)

Thanks and keep up the good work !

Seb

CommentFileSizeAuthor
#2 i18ntaxonomy-page_title-1148858.patch563 bytespfournier
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Jose Reyero’s picture

pfournier’s picture

Version: 6.x-1.9 » 6.x-1.10
Status: Closed (won't fix) » Needs review
FileSize
563 bytes

I have the same problem, so I am reopening this issue and attaching a patch.

You can see the problem with a taxonomy term like "Alice & Bob".

Status: Needs review » Needs work

The last submitted patch, i18ntaxonomy-page_title-1148858.patch, failed testing.

joseph.olstad’s picture

Issue summary: View changes
Status: Needs work » Closed (outdated)