From 3649f0697e18b64db0db5bbbca8cfb361aeb84e4 Mon Sep 17 00:00:00 2001 From: Marcus Bointon Date: Wed, 16 Oct 2019 10:09:01 +0200 Subject: [PATCH] Use HTML5 doctype and set lang attr everywhere --- examples/contents.html | 4 ++-- examples/contentsutf8.html | 4 ++-- examples/send_file_upload.phps | 2 +- examples/send_multiple_file_upload.phps | 2 +- examples/simple_contact_form.phps | 2 +- test/PHPMailerTest.php | 7 ++++--- 6 files changed, 11 insertions(+), 10 deletions(-) diff --git a/examples/contents.html b/examples/contents.html index dc3fc667..ccd6e169 100644 --- a/examples/contents.html +++ b/examples/contents.html @@ -1,5 +1,5 @@ - - + + PHPMailer Test diff --git a/examples/contentsutf8.html b/examples/contentsutf8.html index 4c722c19..219fec2d 100644 --- a/examples/contentsutf8.html +++ b/examples/contentsutf8.html @@ -1,5 +1,5 @@ - - + + PHPMailer Test diff --git a/examples/send_file_upload.phps b/examples/send_file_upload.phps index 8c40ee85..7c2a86bb 100644 --- a/examples/send_file_upload.phps +++ b/examples/send_file_upload.phps @@ -34,7 +34,7 @@ if (array_key_exists('userfile', $_FILES)) { } ?> - + PHPMailer Upload diff --git a/examples/send_multiple_file_upload.phps b/examples/send_multiple_file_upload.phps index d539b5d5..cc43a366 100644 --- a/examples/send_multiple_file_upload.phps +++ b/examples/send_multiple_file_upload.phps @@ -33,7 +33,7 @@ if (array_key_exists('userfile', $_FILES)) { } ?> - + PHPMailer Upload diff --git a/examples/simple_contact_form.phps b/examples/simple_contact_form.phps index 03589973..f14eaa12 100644 --- a/examples/simple_contact_form.phps +++ b/examples/simple_contact_form.phps @@ -72,7 +72,7 @@ if (array_key_exists('to', $_POST)) { } } ?> - + PHPMailer Contact Form diff --git a/test/PHPMailerTest.php b/test/PHPMailerTest.php index f8dd7ed8..c7daefcd 100644 --- a/test/PHPMailerTest.php +++ b/test/PHPMailerTest.php @@ -1094,7 +1094,8 @@ EOT; $this->Mail->CharSet = 'UTF-8'; $this->Mail->Body = <<<'EOT' - + + HTML email test @@ -1304,8 +1305,8 @@ EOT; $this->buildBody(); $this->assertTrue($this->Mail->send(), $this->Mail->ErrorInfo); $this->Mail->clearAttachments(); - $this->Mail->msgHTML(' - + $this->Mail->msgHTML(' + E-Mail Inline Image Test