Fixed: Double-dash results in strikethrough text (#5122).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3605 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2010-03-20 12:54:23 +00:00
1 parent 6e6e260cea
commit 533590c29c
2 files changed
+9

No files matched your search

+2
View File
@@ -381,9 +381,11 @@ class RedCloth3 < String
case rtype
when :limit
/(^|[>\s\(]) # sta
(?!\-\-)
(#{QTAGS_JOIN}|) # oqs
(#{rcq}) # qtag
(\w|[^\s].*?[^\s]) # content
(?!\-\-)
#{rcq}
(#{QTAGS_JOIN}|) # oqa
(?=[[:punct:]]|\s|\)|$)/x