Fixed: URL with ~ broken in wiki formatting.

All RedCloth quick phrase modifiers are now limited to a single line.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@796 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2007-10-03 18:00:50 +00:00
parent cb8bee3a4e
commit 586231067b
2 changed files with 6 additions and 5 deletions
+5 -5
View File
@@ -359,16 +359,16 @@ class RedCloth < String
]
QTAGS = [
['**', 'b'],
['*', 'strong'],
['**', 'b', :limit],
['*', 'strong', :limit],
['??', 'cite', :limit],
['-', 'del', :limit],
['__', 'i'],
['__', 'i', :limit],
['_', 'em', :limit],
['%', 'span', :limit],
['+', 'ins', :limit],
['^', 'sup'],
['~', 'sub']
['^', 'sup', :limit],
['~', 'sub', :limit]
]
QTAGS.collect! do |rc, ht, rtype|
rcq = Regexp::quote rc