URLEncode: Remove HTML Encoding of output text
parent
238ca8be87
commit
3c8e910e54
|
@ -28,8 +28,8 @@ handle remainder => sub {
|
||||||
|
|
||||||
return $text, structured_answer => {
|
return $text, structured_answer => {
|
||||||
data => {
|
data => {
|
||||||
title => html_enc($encoded_url),
|
title => $encoded_url,
|
||||||
subtitle => html_enc($subtitle)
|
subtitle => $subtitle
|
||||||
},
|
},
|
||||||
templates => {
|
templates => {
|
||||||
group => 'text',
|
group => 'text',
|
||||||
|
|
|
@ -17,8 +17,8 @@ sub build_answer {
|
||||||
|
|
||||||
return sprintf("Percent-encoded URL: %s",$answer) , structured_answer => {
|
return sprintf("Percent-encoded URL: %s",$answer) , structured_answer => {
|
||||||
data => {
|
data => {
|
||||||
title => encode_entities($answer),
|
title => $answer,
|
||||||
subtitle => "URL percent-encode: " . encode_entities($sub)
|
subtitle => "URL percent-encode: $sub"
|
||||||
},
|
},
|
||||||
templates => {
|
templates => {
|
||||||
group => 'text',
|
group => 'text',
|
||||||
|
|
Loading…
Reference in New Issue