From 668ec7f69421f925160ec1effa3216e4754cc2da 2009-11-07 09:43:02 From: Jean-Philippe Lang Date: 2009-11-07 09:43:02 Subject: [PATCH] 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 9da6c9e..3f79ed9 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 )