From 8b0d4d169754740d24227f2945c2b9499453ca49 Mon Sep 17 00:00:00 2001 From: Rob Emery Date: Tue, 7 Oct 2014 19:09:04 +0100 Subject: [PATCH] URLEncode: Making consistent style-wise with URLDecode --- lib/DDG/Goodie/URLEncode.pm | 2 +- share/goodie/urlencode/urlencode.css | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/DDG/Goodie/URLEncode.pm b/lib/DDG/Goodie/URLEncode.pm index 7ef5a9a52..bb5595832 100644 --- a/lib/DDG/Goodie/URLEncode.pm +++ b/lib/DDG/Goodie/URLEncode.pm @@ -28,7 +28,7 @@ handle remainder => sub { my $encoded_url = encodeURIComponent($_); my $text = "Percent-encoded URL: $encoded_url"; - my $html = qq(
Percent-encoded URL: $encoded_url
); + my $html = qq(
Percent-encoded URL:
$encoded_url
); return $text, html => $html; }; diff --git a/share/goodie/urlencode/urlencode.css b/share/goodie/urlencode/urlencode.css index 64ba4cd1d..28f6a953e 100644 --- a/share/goodie/urlencode/urlencode.css +++ b/share/goodie/urlencode/urlencode.css @@ -2,6 +2,9 @@ padding-top: 0.25em; padding-bottom: 0.25em; font-weight: 300; - font-size: 1.5em; word-wrap:break-word; } + +.zci--answer .zci--urlencode .url_encoded { + font-size: 1.5em; +} \ No newline at end of file