Index: trunk/phase3/includes/api/ApiFormatDbg.php |
— | — | @@ -38,6 +38,9 @@ |
39 | 39 | }
|
40 | 40 |
|
41 | 41 | public function getMimeType() {
|
| 42 | + # This looks like it should be text/plain, but IE7 is so
|
| 43 | + # brain-damaged it tries to parse text/plain as HTML if it
|
| 44 | + # contains HTML tags. Using MIME text/text works around this bug
|
42 | 45 | return 'text/text';
|
43 | 46 | }
|
44 | 47 |
|
Index: trunk/phase3/includes/api/ApiFormatTxt.php |
— | — | @@ -38,6 +38,9 @@ |
39 | 39 | }
|
40 | 40 |
|
41 | 41 | public function getMimeType() {
|
| 42 | + # This looks like it should be text/plain, but IE7 is so
|
| 43 | + # brain-damaged it tries to parse text/plain as HTML if it
|
| 44 | + # contains HTML tags. Using MIME text/text works around this bug
|
42 | 45 | return 'text/text';
|
43 | 46 | }
|
44 | 47 |
|