aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-07-20 00:41:21 -0400
committerBrandon Mathis <brandon@imathis.com>2011-07-20 00:42:35 -0400
commit3587076aed88a19246ffc7bfeeddde96bb6b38a0 (patch)
treeeb3114d0a78af2ee06427af15501e611926e06df
parentaf39f9682691b23b50e8d566091aeb0f2f16d28f (diff)
downloadmy_new_personal_website-3587076aed88a19246ffc7bfeeddde96bb6b38a0.tar.xz
my_new_personal_website-3587076aed88a19246ffc7bfeeddde96bb6b38a0.zip
updated gist_tag.rb to use <div>s to get around RDiscount's foolishness
Diffstat (limited to '')
-rw-r--r--plugins/gist_tag.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gist_tag.rb b/plugins/gist_tag.rb
index 0a8797f8..946ea23f 100644
--- a/plugins/gist_tag.rb
+++ b/plugins/gist_tag.rb
@@ -34,8 +34,8 @@ module Jekyll
def html_output_for(script_url, code)
code = CGI.escapeHTML code
<<-HTML
-<script src='#{script_url}'></script>
-<noscript><pre><code>#{code}</code></pre></noscript>
+<div><script src='#{script_url}'></script>
+<noscript><pre><code>#{code}</code></pre></noscript></div>
HTML
end