Index: branches/petrb/phase3/includes/diff/DifferenceEngine.php |
— | — | @@ -937,7 +937,7 @@ |
938 | 938 | // shared.css sets diff in interface language/dir, but the actual content |
939 | 939 | // is often in a different language, mostly the page content language/dir |
940 | 940 | $tableClass = 'diff diff-contentalign-' . htmlspecialchars( $this->mDiffLang->alignStart() ); |
941 | | - $header = "<table class='$tableClass'>"; |
| 941 | + $header = "<!-- diff --><table class='$tableClass'>"; |
942 | 942 | if ( $diff ) { // Safari/Chrome show broken output if cols not used |
943 | 943 | $header .= " |
944 | 944 | <col class='diff-marker' /> |
— | — | @@ -963,7 +963,7 @@ |
964 | 964 | $header .= "<tr><td colspan='{$multiColspan}' align='center'>{$notice}</td></tr>"; |
965 | 965 | } |
966 | 966 | |
967 | | - return $header . $diff . "</table>"; |
| 967 | + return $header . $diff . "</table>i<!-- /diff -->"; |
968 | 968 | } |
969 | 969 | |
970 | 970 | /** |