Index: trunk/extensions/EmailPage/EmailPage_body.php |
— | — | @@ -223,8 +223,9 @@ |
224 | 224 | } else $css = ''; |
225 | 225 | |
226 | 226 | # Create a html wrapper for the message |
| 227 | + $doctype = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'; |
227 | 228 | $head = "<head>$css</head>"; |
228 | | - $message = "<html>$head<body style=\"margin:10px\"><div id=\"bodyContent\">$message</div></body></html>"; |
| 229 | + $message = "$doctype\n<html>$head<body style=\"margin:10px\"><div id=\"bodyContent\">$message</div></body></html>"; |
229 | 230 | } |
230 | 231 | |
231 | 232 | # Send message or list recipients |