From 9886b88a3b6455bf9d567c091e36514d04a7faba Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Mon, 5 Nov 2012 20:24:22 -0200 Subject: [PATCH] Do not strip code blocks, otherwise we may get misaligned output [ci skip] --- guides/rails_guides/markdown/renderer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/rails_guides/markdown/renderer.rb b/guides/rails_guides/markdown/renderer.rb index 2f36af1fb3..c3fe5b8799 100644 --- a/guides/rails_guides/markdown/renderer.rb +++ b/guides/rails_guides/markdown/renderer.rb @@ -9,7 +9,7 @@ module RailsGuides <<-HTML
-#{ERB::Util.h(code).strip}
+#{ERB::Util.h(code)}
 
HTML