aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/dal_images.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v2/dal_images.rb')
-rw-r--r--lib/sisu/v2/dal_images.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v2/dal_images.rb b/lib/sisu/v2/dal_images.rb
index 0b6d2b1e..ed537f22 100644
--- a/lib/sisu/v2/dal_images.rb
+++ b/lib/sisu/v2/dal_images.rb
@@ -83,7 +83,7 @@ module SiSU_images
unless dob.is =~/^table/
dob.obj.strip!
if dob.obj =~/#{Mx[:lnk_o]}\s*\S+\.(?:png|jpg|gif)(?:\s*|\s+.+)?#{Mx[:lnk_c]}(?:#{Mx[:url_o]}\S+?#{Mx[:url_c]}|image)/
- if dob.obj !~/#{Mx[:lnk_o]}\s*\S+\.(?:png|jpg|gif)\s+\d+x\d+\s+/
+ if dob.obj !~/#{Mx[:lnk_o]}\s*\S+\.(?:png|jpg|gif)\s+\d+x\d+/
m=/#{Mx[:lnk_o]}\s*(\S+\.(?:png|jpg|gif))/
if imagemagick_
imgs=dob.obj.scan(m).flatten