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 )