From dc27de320dc25c795b00cb53917c7357accfc5dd Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 7 Oct 2009 12:30:02 -0600 Subject: [PATCH] Regex tweak --- framework/Mime/lib/Horde/Mime/Viewer/Html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Mime/lib/Horde/Mime/Viewer/Html.php b/framework/Mime/lib/Horde/Mime/Viewer/Html.php index 2d14177a6..d010203d5 100644 --- a/framework/Mime/lib/Horde/Mime/Viewer/Html.php +++ b/framework/Mime/lib/Horde/Mime/Viewer/Html.php @@ -106,7 +106,7 @@ class Horde_Mime_Viewer_Html extends Horde_Mime_Viewer_Driver /* Deal with tags in the HTML, since they will screw up our own * relative paths. */ if (!empty($options['inline']) && - preg_match('/ ]*)"? ?\/?>/i', $data, $matches)) { + preg_match('/ ]*)"? ?\/?>/i', $data, $matches)) { $base = $matches[1]; if (substr($base, -1) != '/') { $base .= '/'; -- 2.11.0