From abd9e8f48870a9e730f3402f6c4801f6037a2d42 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Mon, 21 May 2012 20:07:36 -0500 Subject: [PATCH] removed an unnecessary whitespace indent adjustment from backtick codeblock --- plugins/backtick_code_block.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/backtick_code_block.rb b/plugins/backtick_code_block.rb index caa936b..4a7f5a5 100644 --- a/plugins/backtick_code_block.rb +++ b/plugins/backtick_code_block.rb @@ -23,9 +23,6 @@ module BacktickCodeBlock @caption = "
#{$2}
" end - if str.match(/\A( {4}|\t)/) - str = str.gsub(/^( {4}|\t)/, '') - end if @lang.nil? || @lang == 'plain' code = tableize_code(str.gsub('<','<').gsub('>','>')) "
#{@caption}#{code}
"