diff --git a/lib/DDG/Goodie/MakeMeASandwich.pm b/lib/DDG/Goodie/MakeMeASandwich.pm index c37254cd7..83e4674e9 100755 --- a/lib/DDG/Goodie/MakeMeASandwich.pm +++ b/lib/DDG/Goodie/MakeMeASandwich.pm @@ -27,7 +27,7 @@ handle remainder => sub { data => { title => $result, subtitle => [ - { text => $input }, + $input, { text => "XKCD 149", href => "https://duckduckgo.com/?q=xkcd%20149" } ] }, diff --git a/t/MakeMeASandwich.t b/t/MakeMeASandwich.t index 1fb888302..41e66900c 100755 --- a/t/MakeMeASandwich.t +++ b/t/MakeMeASandwich.t @@ -20,7 +20,7 @@ sub build_test data => { title => $text, subtitle => [ - { text => $input }, + $input, { text => "XKCD 149", href => "https://duckduckgo.com/?q=xkcd%20149"} ] },