Index: trunk/phase3/includes/api/ApiFormatBase.php |
— | — | @@ -158,8 +158,6 @@ |
159 | 159 | * This method also replaces any '<' with < |
160 | 160 | */ |
161 | 161 | protected function formatHTML($text) { |
162 | | - // Escape everything first for full coverage |
163 | | - $text = htmlspecialchars($text); |
164 | 162 | |
165 | 163 | // encode all comments or tags as safe blue strings |
166 | 164 | $text = preg_replace('/\<(!--.*?--|.*?)\>/', '<span style="color:blue;"><\1></span>', $text); |