diff --git a/lib/DDG/Goodie/URLDecode.pm b/lib/DDG/Goodie/URLDecode.pm index c95649414..727ed6dfd 100755 --- a/lib/DDG/Goodie/URLDecode.pm +++ b/lib/DDG/Goodie/URLDecode.pm @@ -36,8 +36,8 @@ handle query_raw => sub { return $text, structured_answer => { data => { - title => html_enc($decoded), - subtitle => html_enc($subtitle) + title => $decoded, + subtitle => $subtitle }, templates => { group => 'text', diff --git a/t/URLDecode.t b/t/URLDecode.t index e76e0703b..652d788f0 100755 --- a/t/URLDecode.t +++ b/t/URLDecode.t @@ -17,8 +17,8 @@ sub build_answer { return sprintf("URL Decoded: %s",$answer) , structured_answer => { data => { - title => encode_entities($answer), - subtitle => "URL decode: " . encode_entities($sub) + title => $answer, + subtitle => "URL decode: $sub" }, templates => { group => 'text',