Merged r2664, r2665, r2670, r2674, r2677, r2679 from trunk.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.8-stable@2681 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2009-04-24 16:13:35 +00:00
1 parent babbe88a86
commit 7b699af837
7 files changed
+46 -18

No files matched your search

+2 -2
View File
@@ -792,7 +792,7 @@ class RedCloth3 < String
(?:\(([^)]+?)\)(?="))? # $title
":
( # $url
(\/|[a-zA-Z]+:\/\/|www\.) # $proto
(\/|[a-zA-Z]+:\/\/|www\.|mailto:) # $proto
[\w\/]\S+?
)
(\/)? # $slash
@@ -907,7 +907,7 @@ class RedCloth3 < String
end
IMAGE_RE = /
(<p>|.|^) # start of line?
(<p>|\s|^) # start of line?
\! # opening
(\<|\=|\>)? # optional alignment atts
(#{C}) # optional style,class atts