Posted by Moonshine on April 2, 2009 at 5:03am
| Project: | Terms of Use |
| Version: | 6.x-1.10 |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Howdy...
Just a heads up that l() actually does a check_plain() on its own for link text. So when the title is encoded before sending it in you end up with some funky encoding for things like "Terms & Conditions" where the ampersand is double encoded.
Thanks!
Comments
#1
Thanks Moonshine! I will fix this.
:)
#2
Here's the patch for 1.10
#3
Very simple patch, works as advertised and badly needed in case you have something that check_plain converts to an entity in the link label, otherwise the double escaping makes the entity visible (such as ' which is in the default fr.po) .
Thanks @roychri
#4
#421346 by roychri | Chill35: Fixed Double encoding on @link.
#5
Automatically closed -- issue fixed for 2 weeks with no activity.