diff --git a/guides/rails_guides/markdown/renderer.rb b/guides/rails_guides/markdown/renderer.rb
index ec0688f937a..d76ec53b34c 100644
--- a/guides/rails_guides/markdown/renderer.rb
+++ b/guides/rails_guides/markdown/renderer.rb
@@ -7,13 +7,11 @@ module RailsGuides
def block_code(code, language)
<<-HTML
-
#{ERB::Util.h(code).strip}
#{text}
" + end end private @@ -61,7 +63,7 @@ HTML else $1.downcase end - %Q(#{$2.strip}
#{$2.strip}