diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2021-07-14 14:05:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-14 14:05:44 +0300 |
commit | a59a5fbdbb82eb6403c6d3e1694b90695d8c1638 (patch) | |
tree | a810e90f26df8c40697e46fa795d4775f6c50d9d | |
parent | bd6d13b0686887c4a65fc7896921ebb8e7d2d7c8 (diff) | |
parent | bbc7457855f5ab523a5ff1b85d054150db2f1c87 (diff) |
Merge pull request #5329 from nextcloud/bug/noid/html-skeleton
Add html structure
-rw-r--r-- | lib/Http/HtmlResponse.php | 2 |
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>'; } } |