projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf37d9f
)
handle IMG
author
Jamie Cameron
<jcameron@webmin.com>
Wed, 6 Oct 2010 19:00:09 +0000
(12:00 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Wed, 6 Oct 2010 19:00:09 +0000
(12:00 -0700)
mailboxes/folders-lib.pl
patch
|
blob
|
history
diff --git
a/mailboxes/folders-lib.pl
b/mailboxes/folders-lib.pl
index
5783875
..
3a126eb
100755
(executable)
--- a/
mailboxes/folders-lib.pl
+++ b/
mailboxes/folders-lib.pl
@@
-2553,7
+2553,7
@@
sub disable_html_images
{
local ($html, $dis, $urls) = @_;
local $newhtml;
-while($html =~ /^([\000-\377]*?)(<\s*img[^>]*src=('[^']*'|"[^"]*"|\S+)[^>]*>)([\000-\377]*)/) {
+while($html =~ /^([\000-\377]*?)(<\s*img[^>]*src=('[^']*'|"[^"]*"|\S+)[^>]*>)([\000-\377]*)/
i
) {
local ($before, $allimg, $img, $after) = ($1, $2, $3, $4);
$img =~ s/^'(.*)'$/$1/ || $img =~ s/^"(.*)"$/$1/;
push(@$urls, $img) if ($urls);