From d38f9f8e437d3457a32c631a32054186047eb1b5 Mon Sep 17 00:00:00 2001 From: Chris Miller Date: Fri, 24 Feb 2012 12:44:35 -0700 Subject: [PATCH 1/2] Fix for bottom margin in nested lists. --- .themes/classic/sass/base/_typography.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/.themes/classic/sass/base/_typography.scss b/.themes/classic/sass/base/_typography.scss index b68753f..e9b6b19 100644 --- a/.themes/classic/sass/base/_typography.scss +++ b/.themes/classic/sass/base/_typography.scss @@ -73,6 +73,7 @@ ol { list-style-type: decimal; ol { list-style-type: lower-roman; margin-bottom: 0px; }}} ul, ol { &, ul, ol { margin-left: 1.3em; }} +ul, ol { ul, ol { margin-bottom: 0em; }} strong { font-weight: bold; } From 407a242f2d360f3e2acacc408affe92d941cc157 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Tue, 5 Mar 2013 23:39:27 +0100 Subject: [PATCH 2/2] Using data.code.to_i like a true Rubyist in plugins/gist_code.rb. Heh. #438 --- plugins/gist_tag.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/gist_tag.rb b/plugins/gist_tag.rb index 43e7eb0..2549ea7 100644 --- a/plugins/gist_tag.rb +++ b/plugins/gist_tag.rb @@ -84,8 +84,8 @@ module Jekyll https.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new raw_uri.request_uri data = https.request request - if Integer(data.code) != 200 - raise RuntimeError, "Gist replied with #{data.code} for #{gist_url}" + if data.code.to_i != 200 + raise RuntimeError, "Gist replied with #{data.code} for #{gist_url}" end data = data.body cache gist, file, data unless @cache_disabled