From 668ec7f69421f925160ec1effa3216e4754cc2da Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 7 Nov 2009 09:43:02 +0000 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 --- lib/redcloth3.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/redcloth3.rb b/lib/redcloth3.rb index 9da6c9ee8..3f79ed99b 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 ) -- 2.39.5