Browse code

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

Brandon Mathis authored on 20/07/2011 at 04:41:21
Showing 1 changed files
... ...
@@ -34,8 +34,8 @@ module Jekyll
34 34
     def html_output_for(script_url, code)
35 35
       code = CGI.escapeHTML code
36 36
       <<-HTML
37
-<script src='#{script_url}'></script>
38
-<noscript><pre><code>#{code}</code></pre></noscript>
37
+<div><script src='#{script_url}'></script>
38
+<noscript><pre><code>#{code}</code></pre></noscript></div>
39 39
       HTML
40 40
     end
41 41