From fbd15732887a85d0e76443cfc7675e34aa30893f Mon Sep 17 00:00:00 2001 Message-Id: In-Reply-To: References: From: Alexey I. Froloff Date: Sat, 17 Oct 2009 22:19:10 +0400 Subject: [PATCH 04/11] Fix Regexp. Signed-off-by: Alexey I. Froloff --- lib/redcloth3.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/redcloth3.rb b/lib/redcloth3.rb index e99ccdf..41d4ddb 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 ) -- 1.6.4.4