summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-04-21 12:49:16 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-04-21 12:49:16 +0000
commit6bb550838777352180534da7a7f807cbf5f0db7f (patch)
treedf7f5e567ad5ba08cd1f5418cdfe22931ee5b415 /lib
parentbb44430b631eba1d33b218c97cb5d506073aeb08 (diff)
downloadredmine-6bb550838777352180534da7a7f807cbf5f0db7f.tar.gz
redmine-6bb550838777352180534da7a7f807cbf5f0db7f.zip
Less aggressive textile image tag parsing (#3209).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2677 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redcloth3.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redcloth3.rb b/lib/redcloth3.rb
index e0dca80e2..a4d33f804 100644
--- a/lib/redcloth3.rb
+++ b/lib/redcloth3.rb
@@ -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