summaryrefslogtreecommitdiffstats
path: root/lib/redcloth3.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/redcloth3.rb')
-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