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:
parent
8c35f929cf
commit
9886b88a3b
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ module RailsGuides
|
||||||
<<-HTML
|
<<-HTML
|
||||||
<div class="code_container">
|
<div class="code_container">
|
||||||
<pre class="brush: #{brush_for(language)}; gutter: false; toolbar: false">
|
<pre class="brush: #{brush_for(language)}; gutter: false; toolbar: false">
|
||||||
#{ERB::Util.h(code).strip}
|
#{ERB::Util.h(code)}
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
HTML
|
HTML
|
||||||
|
|
Loading…
Reference in a new issue