summaryrefslogtreecommitdiffstats
path: root/lib/redcloth3.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-11-07 09:43:02 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-11-07 09:43:02 +0000
commit668ec7f69421f925160ec1effa3216e4754cc2da (patch)
tree04ff482cd207bfaa71c1671ecb16cd1fe6d53bbf /lib/redcloth3.rb
parentbe41f7f473070d00302d1a485819248f3b114fc4 (diff)
downloadredmine-668ec7f69421f925160ec1effa3216e4754cc2da.tar.gz
redmine-668ec7f69421f925160ec1effa3216e4754cc2da.zip
Fixes a regexp for ruby1.9.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3015 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redcloth3.rb')
-rw-r--r--lib/redcloth3.rb2
1 files changed, 1 insertions, 1 deletions
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 )