If a taxonomy term contains a greater than sign (>) or a less than sign (<) then the label of the term is empty. The corresponding checkbox is there and the term can be selected. The label tag in the resulting HTML is there as well but it is empty. The less than and greater than sign are important for taxonomy terms since they are often used for marking the so-called "collection terms" i.e. terms with no useful associated concept which are only used for organisation, e.g.:
fruit
-<fruit by colour>
--red
---apple
--green
---pear
-<fruit by size>
--small
---apple
--big
---water melon

Comments

alex_optim’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new681 bytes
pifagor’s picture

Status: Needs review » Needs work

We can use check_plain instead of htmlspecialchars

alex_optim’s picture

Status: Needs work » Reviewed & tested by the community
StatusFileSize
new671 bytes
pifagor’s picture

Status: Reviewed & tested by the community » Needs review
pifagor’s picture

Status: Needs review » Reviewed & tested by the community

Look good

  • alex_optim committed c042da7 on 7.x-1.x
    Issue #1763930 by alex_optim: Labels for terms containing < or > are...
alex_optim’s picture

Status: Reviewed & tested by the community » Patch (to be ported)
alex_optim’s picture

Status: Patch (to be ported) » Fixed
alex_optim’s picture

Status: Fixed » Closed (fixed)
alex_optim’s picture

Status: Closed (fixed) » Needs work
alex_optim’s picture

Version: 7.x-1.9 » 7.x-1.x-dev

  • alex_optim committed 4a5af11 on 7.x-1.x
    Issue #1763930 by alex_optim: Labels for terms containing < or > are...
alex_optim’s picture

Status: Needs work » Fixed
alex_optim’s picture

Status: Fixed » Closed (fixed)