src: Add missing dquote in HTML

This commit is contained in:
Tatsuhiro Tsujikawa 2015-03-05 23:34:42 +09:00
parent 8baec366f0
commit a1c937a007
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;