Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #10201 from vipulnsward/remove_unused_var_in_guides

remove unused variable
  • Loading branch information...
commit 67bb49b69e1f10c2b35a53a645ed98a028375f1d 2 parents 11c6973 + 7ecaa00
Carlos Antonio da Silva carlosantoniodasilva authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  guides/rails_guides/markdown/renderer.rb
2  guides/rails_guides/markdown/renderer.rb
View
@@ -65,7 +65,7 @@ def convert_notes(body)
# if a bulleted list follows the first item is not rendered
# as a list item, but as a paragraph starting with a plain
# asterisk.
- body.gsub(/^(TIP|IMPORTANT|CAUTION|WARNING|NOTE|INFO|TODO)[.:](.*?)(\n(?=\n)|\Z)/m) do |m|
+ body.gsub(/^(TIP|IMPORTANT|CAUTION|WARNING|NOTE|INFO|TODO)[.:](.*?)(\n(?=\n)|\Z)/m) do
css_class = case $1
when 'CAUTION', 'IMPORTANT'
'warning'
Please sign in to comment.
Something went wrong with that request. Please try again.