From: Michael M Slusarz Date: Wed, 7 Oct 2009 18:30:02 +0000 (-0600) Subject: Regex tweak X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=dc27de320dc25c795b00cb53917c7357accfc5dd;p=horde.git Regex tweak --- 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 .= '/';