OSDN Git Service
(root)
/
redminele
/
redmine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be41f7f
)
Fixes a regexp for ruby1.9.
author
Jean-Philippe Lang
<jp_lang@yahoo.fr>
Sat, 7 Nov 2009 09:43:02 +0000
(09:43 +0000)
committer
Jean-Philippe Lang
<jp_lang@yahoo.fr>
Sat, 7 Nov 2009 09:43:02 +0000
(09:43 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3015
e93f8b46
-1217-0410-a6f0-
8f06a7374b81
lib/redcloth3.rb
patch
|
blob
|
history
diff --git
a/lib/redcloth3.rb
b/lib/redcloth3.rb
index
9da6c9e
..
3f79ed9
100644
(file)
--- 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 )