Skip to content

Commit 4c1494e

Browse files
authored
Merge pull request #39 from FedericoBusero/patch-1
Compliance HTML5 standard - doctype
2 parents 6572b21 + 34250e0 commit 4c1494e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EmbAJAX.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ void EmbAJAXOptionSelectBase::updateFromDriverArg(const char* argname) {
522522

523523
void EmbAJAXBase::printPage(EmbAJAXBase** _children, size_t NUM, const char* _title, const char* _header_add) const {
524524
_driver->printHeader(true);
525-
_driver->printContent("<HTML><HEAD><TITLE>");
525+
_driver->printContent("<!DOCTYPE html>\n<HTML><HEAD><TITLE>");
526526
if (_title) _driver->printContent(_title);
527527
_driver->printContent("</TITLE>\n<SCRIPT>\n");
528528
_driver->printContent("var serverrevision = 0;\n"

0 commit comments

Comments
 (0)