Closed (won't fix)
Project:
Responsive images and styles
Version:
7.x-1.3
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
16 Oct 2013 at 18:02 UTC
Updated:
16 Oct 2013 at 21:08 UTC
at line 375 of the file resp_img.module
you can fine the code:
preg_match('/src=("[^"]*")/i', $img, $src);
which will match image tags like <img src="path/to/image.jpg" />
but not <img src='path/to/image.jpg' />
Addition of pregmatch single quotes can help,
as i used the resp_img by using php filter in a basic page (i did't use image field) , i used php to generate image style,
and I put <img src='path/img.jpg' /> with single quotes which showed some errors
Comments
Comment #1
idealdesigns commentedComment #2
idealdesigns commentedComment #2.0
idealdesigns commentedcorrections