1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

[ci skip]
This commit is contained in:
Carlos Antonio da Silva 2012-11-05 20:24:22 -02:00
parent 8c35f929cf
commit 9886b88a3b

View file

@ -9,7 +9,7 @@ module RailsGuides
<<-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