Permalink
Browse files

Do not strip code blocks, otherwise we may get misaligned output

[ci skip]
  • Loading branch information...
carlosantoniodasilva committed Nov 5, 2012
1 parent 8c35f92 commit 9886b88a3b6455bf9d567c091e36514d04a7faba
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/rails_guides/markdown/renderer.rb
@@ -9,7 +9,7 @@ def block_code(code, language)
<<-HTML
<div class="code_container">
<pre class="brush: #{brush_for(language)}; gutter: false; toolbar: false">
-#{ERB::Util.h(code).strip}
+#{ERB::Util.h(code)}
</pre>
</div>
HTML

0 comments on commit 9886b88

Please sign in to comment.