diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-03 18:00:50 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-03 18:00:50 +0000 |
commit | 586231067bb1aa0ab7c1da005a6b62413ca0fd2d (patch) | |
tree | 54e5a9927ab472b204e4f04651d915cab8b582d0 /lib | |
parent | cb8bee3a4e5a6fffc094665d8f0107e57a63d103 (diff) | |
download | redmine-586231067bb1aa0ab7c1da005a6b62413ca0fd2d.tar.gz redmine-586231067bb1aa0ab7c1da005a6b62413ca0fd2d.zip |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redcloth.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/redcloth.rb b/lib/redcloth.rb index c4b504871..ae70db747 100644 --- a/lib/redcloth.rb +++ b/lib/redcloth.rb @@ -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 |