aboutsummaryrefslogtreecommitdiffstats
path: root/guides/rails_guides/markdown
diff options
context:
space:
mode:
Diffstat (limited to 'guides/rails_guides/markdown')
-rw-r--r--guides/rails_guides/markdown/renderer.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/guides/rails_guides/markdown/renderer.rb b/guides/rails_guides/markdown/renderer.rb
index ec858460e8..4ff76c519b 100644
--- a/guides/rails_guides/markdown/renderer.rb
+++ b/guides/rails_guides/markdown/renderer.rb
@@ -46,14 +46,14 @@ HTML
def brush_for(code_type)
case code_type
- when "ruby", "sql", "plain"
- code_type
- when "erb", "html+erb"
- "ruby; html-script: true"
- when "html"
- "xml" # HTML is understood, but there are .xml rules in the CSS
+ when "ruby", "sql", "plain"
+ code_type
+ when "erb", "html+erb"
+ "ruby; html-script: true"
+ when "html"
+ "xml" # HTML is understood, but there are .xml rules in the CSS
else
- "plain"
+ "plain"
end
end