We want to be greedy for this match
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 7 Oct 2009 18:41:54 +0000 (12:41 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 8 Oct 2009 18:02:49 +0000 (12:02 -0600)
Remove incorrect comment.

imp/lib/Mime/Viewer/Html.php

index b3626ce..a81d836 100644 (file)
@@ -214,7 +214,7 @@ class IMP_Horde_Mime_Viewer_Html extends Horde_Mime_Viewer_Html
                   '/<a\s/i',
                   '/<area\b([^>]*\s+href=["\']?(#|mailto:))/i',
                   '/<area\b([^>]*)\s+target=["\']?[^>"\'\s]*["\']?/i',
-                  '/<area\b/i',
+                  '/<area\s/i',
                   "/\x01/",
                   "/\x02/"),
             array("<\x01\\1",
@@ -228,8 +228,7 @@ class IMP_Horde_Mime_Viewer_Html extends Horde_Mime_Viewer_Html
             $data);
 
         /* If displaying inline (in IFRAME), tables with 100% height seems to
-         * confuse many browsers re: the iframe internal height. Replace this
-         * with 'auto' instead. */
+         * confuse many browsers re: the iframe internal height. */
         if ($inline) {
             $data = preg_replace('/<table\b([^>]*)\s+height=["\']?100\%["\']?/i', '<table \\1', $data);
         }