Fix replacement string
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 28 Sep 2009 17:46:17 +0000 (11:46 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 28 Sep 2009 17:46:17 +0000 (11:46 -0600)
imp/lib/Mime/Viewer/Html.php

index a39acbf..21a56ec 100644 (file)
@@ -284,7 +284,7 @@ class IMP_Horde_Mime_Viewer_Html extends Horde_Mime_Viewer_Html
 
         return empty($matches[2])
             ? $matches[1] . '"' . $this->_blockimg . '" htmlimgblocked="' . rawurlencode(str_replace('&amp;', '&', trim($matches[5], '\'" '))) . '"'
-            : $matches[1] . "'" . $this->_blockimg . '\')' . $matches[6] . '" htmlimgblocked="' . rawurlencode(str_replace('&amp;', '&', trim($matches[5], '\'" ')));
+            : $matches[1] . "'" . $this->_blockimg . '\')' . $matches[6] . '" htmlimgblocked="' . rawurlencode(str_replace('&amp;', '&', trim($matches[5], '\'" '))) . '"';
     }
 
     /**