Commit a1c937a0 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

src: Add missing dquote in HTML

parent 8baec366
...@@ -36,7 +36,7 @@ std::string create_html(int status_code) { ...@@ -36,7 +36,7 @@ std::string create_html(int status_code) {
std::string res; std::string res;
res.reserve(512); res.reserve(512);
auto status = ::nghttp2::http2::get_status_string(status_code); 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 += status;
res += "</title><body><h1>"; res += "</title><body><h1>";
res += status; res += status;
......
...@@ -39,7 +39,7 @@ std::string create_error_html(unsigned int status_code) { ...@@ -39,7 +39,7 @@ std::string create_error_html(unsigned int status_code) {
std::string res; std::string res;
res.reserve(512); res.reserve(512);
auto status = http2::get_status_string(status_code); 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 += status;
res += "</title><body><h1>"; res += "</title><body><h1>";
res += status; res += status;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment