<!DOCTYPE html> to please the browser

This commit is contained in:
3eef8a28f26fb2bcc514e6f1938929a1f931762 2023-02-10 00:03:12 -05:00
parent c5a61c03e3
commit 3d384f9cd5

View file

@ -188,6 +188,7 @@ void generate_course_page(const std::string& course_id,
const std::regex escape_string(R"(")"); const std::regex escape_string(R"(")");
const std::string& description_meta = std::regex_replace(description,escape_string,"&quot;"); const std::string& description_meta = std::regex_replace(description,escape_string,"&quot;");
tag(os,TAG::INLINE) << "<!DOCTYPE html>" << '\n';
tag(os,TAG::BEGIN,"html"); tag(os,TAG::BEGIN,"html");
tag(os,TAG::BEGIN,"head"); tag(os,TAG::BEGIN,"head");
tag(os,TAG::BEGIN,"title"); tag(os,TAG::BEGIN,"title");