Use the HTML5 document type declaration
The XHTML document makes the document not to validate because of the undefined entity references, and it seems better to use the HTML5 document type instead of the HTML 4.01 one because the template uses already some modern constructs like defining the device viewport options. Fixes issue #52.pull/55/head
parent
71b7146577
commit
a3a7626de9
10
template.h
10
template.h
|
@ -1,12 +1,10 @@
|
||||||
/* Automagically generated, do not edit! */
|
/* Automagically generated, do not edit! */
|
||||||
static const u_char t01_head1[] = ""
|
static const u_char t01_head1[] = ""
|
||||||
"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">"
|
"<!DOCTYPE html>"
|
||||||
"\n"
|
"<html>"
|
||||||
"<html xmlns=\"http://www.w3.org/1999/xhtml\">"
|
|
||||||
"\n"
|
|
||||||
"<head>"
|
"<head>"
|
||||||
"<meta name=\"viewport\" content=\"width=device-width\"/>"
|
"<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">"
|
||||||
"<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\"/>"
|
"<meta name=\"viewport\" content=\"width=device-width\">"
|
||||||
"<style type=\"text/css\">"
|
"<style type=\"text/css\">"
|
||||||
"body,html {"
|
"body,html {"
|
||||||
"background:#fff;"
|
"background:#fff;"
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
<!-- var t01_head1 -->
|
<!-- var t01_head1 -->
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
<meta name="viewport" content="width=device-width"/>
|
<meta name="viewport" content="width=device-width">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
body,html {
|
body,html {
|
||||||
background:#fff;
|
background:#fff;
|
||||||
|
|
Loading…
Reference in New Issue