philippe_mingo %!s(int64=23) %!d(string=hai) anos
pai
achega
7f0e45f9d5
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      functions/mime.php

+ 3 - 3
functions/mime.php

@@ -915,8 +915,8 @@ function MagicHTML( $body, $id ) {
             case '/HEA':
             case '/HEA':
             case '!DOC':
             case '!DOC':
             case 'META':
             case 'META':
-            case 'DIV ':
-            case '/DIV':
+            //case 'DIV ':
+            //case '/DIV':
             case '!-- ':
             case '!-- ':
                 $i += 4;
                 $i += 4;
                 while ( $body{$i}  <> '>' &&
                 while ( $body{$i}  <> '>' &&
@@ -1155,7 +1155,7 @@ function stripEvent( &$i, $j, &$body, $id, $base ) {
                     $src = '../images/' . _("sec_remove_eng.png");
                     $src = '../images/' . _("sec_remove_eng.png");
                 }
                 }
                 $ret .= 'src="' . $src . '" ';
                 $ret .= 'src="' . $src . '" ';
-                $i = $k - 3;
+                $i = $k - 2;
             } else {
             } else {
                 $ret .= 'src';
                 $ret .= 'src';
                 $i = $i + 3;
                 $i = $i + 3;