From c54fd6c6de4442f308f999caf36ae075de42a69c Mon Sep 17 00:00:00 2001 From: cash Date: Fri, 25 Jan 2013 18:16:19 -0500 Subject: Fixes #4972 decode special chars before encoding for friendly titles --- engine/lib/output.php | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.3