updated gist_tag.rb to use <div>s to get around RDiscount's foolishness

This commit is contained in:
Brandon Mathis 2011-07-20 00:41:21 -04:00
parent af39f96826
commit 3587076aed
1 changed files with 2 additions and 2 deletions

View File

@ -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