Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2021-07-14 11:56:46 +0300
committerDaniel Kesselberg <mail@danielkesselberg.de>2021-07-14 12:50:51 +0300
commitbbc7457855f5ab523a5ff1b85d054150db2f1c87 (patch)
treea810e90f26df8c40697e46fa795d4775f6c50d9d
parentbd6d13b0686887c4a65fc7896921ebb8e7d2d7c8 (diff)
Add html structure
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
-rw-r--r--lib/Http/HtmlResponse.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Http/HtmlResponse.php b/lib/Http/HtmlResponse.php
index f880c077f..645bb5d41 100644
--- a/lib/Http/HtmlResponse.php
+++ b/lib/Http/HtmlResponse.php
@@ -83,6 +83,6 @@ class HtmlResponse extends Response {
return $this->content;
}
- return '<script nonce="' . $this->nonce . '" src="' . $this->scriptUrl . '"></script>' . $this->content;
+ return '<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><script nonce="' . $this->nonce . '" src="' . $this->scriptUrl . '"></script></head><body>' . $this->content . '</body></html>';
}
}