src: Add missing dquote in HTML
This commit is contained in:
parent
8baec366f0
commit
a1c937a007
|
@ -36,7 +36,7 @@ std::string create_html(int status_code) {
|
|||
std::string res;
|
||||
res.reserve(512);
|
||||
auto status = ::nghttp2::http2::get_status_string(status_code);
|
||||
res += "<!DOCTYPE html><html lang=en><title>";
|
||||
res += R"(<!DOCTYPE html><html lang="en"><title>)";
|
||||
res += status;
|
||||
res += "</title><body><h1>";
|
||||
res += status;
|
||||
|
|
|
@ -39,7 +39,7 @@ std::string create_error_html(unsigned int status_code) {
|
|||
std::string res;
|
||||
res.reserve(512);
|
||||
auto status = http2::get_status_string(status_code);
|
||||
res += "<!DOCTYPE html><html lang=en><title>";
|
||||
res += R"(<!DOCTYPE html><html lang="en"><title>)";
|
||||
res += status;
|
||||
res += "</title><body><h1>";
|
||||
res += status;
|
||||
|
|
Loading…
Reference in New Issue