diff options
author | cash <cash.costello@gmail.com> | 2013-01-25 18:16:19 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2013-01-25 18:16:19 -0500 |
commit | c54fd6c6de4442f308f999caf36ae075de42a69c (patch) | |
tree | 285f0e35ce65ae0de832083af1acd5d6340a45a7 /engine/lib | |
parent | 5d407a2c0fd351cc9b50c4a317200729df5d50da (diff) | |
download | elgg-c54fd6c6de4442f308f999caf36ae075de42a69c.tar.gz elgg-c54fd6c6de4442f308f999caf36ae075de42a69c.tar.bz2 |
Fixes #4972 decode special chars before encoding for friendly titles
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/output.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/output.php b/engine/lib/output.php index bff0bf6e9..9295f2173 100644 --- a/engine/lib/output.php +++ b/engine/lib/output.php @@ -287,6 +287,8 @@ function elgg_get_friendly_title($title) { // handle some special cases $title = str_replace('&', 'and', $title); + // quotes and angle brackets stored in the database as html encoded + $title = htmlspecialchars_decode($title); $title = ElggTranslit::urlize($title); |