Permalink
Browse files

remove unused variable

  • Loading branch information...
1 parent 481618c commit 7ecaa0057c6bf653da8a9781454da1dfdc20f143 @vipulnsward vipulnsward committed Apr 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/rails_guides/markdown/renderer.rb
@@ -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'

0 comments on commit 7ecaa00

Please sign in to comment.