From: Jean-Philippe Lang Date: Sat, 7 Nov 2009 09:43:02 +0000 (+0000) Subject: Fixes a regexp for ruby1.9. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=668ec7f69421f925160ec1effa3216e4754cc2da;p=redminele%2Fredmine.git Fixes a regexp for ruby1.9. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3015 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/lib/redcloth3.rb b/lib/redcloth3.rb index 9da6c9ee..3f79ed99 100644 --- a/lib/redcloth3.rb +++ b/lib/redcloth3.rb @@ -577,7 +577,7 @@ class RedCloth3 < String end end - QUOTES_RE = /(^>+([^\n]*?)\n?)+/m + QUOTES_RE = /(^>+([^\n]*?)(\n|$))+/m QUOTES_CONTENT_RE = /^([> ]+)(.*)$/m def block_textile_quotes( text )