소스 검색

reset token when another < is detected, to ensure that HTML tags between
style tags do not break finding the end tag.

Thijs Kinkhorst 17 년 전
부모
커밋
b57f700812
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      functions/mime.php

+ 1 - 1
functions/mime.php

@@ -1927,7 +1927,7 @@ function sq_fixstyle($body, $pos, $message, $id, $mailbox){
         $char = $body{$i};
         switch ($char) {
             case '<':
-                $sToken .= $char;
+                $sToken = $char;
                 break;
             case '/':
                  if ($sToken == '<') {