Fixed wrong </head> tag

Fixed wrong </head> tag
pull/41/head
Hieromon Ikasamo 5 years ago
parent 175bbf1388
commit ab456d7a72
  1. 2
      examples/HandlePortal/HandlePortal.ino
  2. 2
      examples/HandlePortalEX/HandlePortalEX.ino
  3. 2
      mkdocs/images/handleClient.svg
  4. 2
      mkdocs/images/handlePortal.svg

@ -32,7 +32,7 @@ AutoConnect portal;
void handleRoot() { void handleRoot() {
String page = PSTR( String page = PSTR(
"<html>" "<html>"
"</head>" "<head>"
"<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">" "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">"
"<style type=\"text/css\">" "<style type=\"text/css\">"
"body {" "body {"

@ -38,7 +38,7 @@ AutoConnect portal(server);
static const char PROGMEM mold_page[] = R"*lit( static const char PROGMEM mold_page[] = R"*lit(
<html> <html>
</head> <head>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css"> <style type="text/css">
body { body {

@ -106,7 +106,7 @@
id="tspan4526" id="tspan4526"
style="font-size:3.17499995px;fill:#003399;stroke-width:0.26458332" style="font-size:3.17499995px;fill:#003399;stroke-width:0.26458332"
y="-7.9007959" y="-7.9007959"
x="-41.95536">&quot;&lt;/head&gt;&quot;</tspan><tspan x="-41.95536">&quot;&lt;head&gt;&quot;</tspan><tspan
id="tspan4528" id="tspan4528"
style="font-size:3.17499995px;fill:#003399;stroke-width:0.26458332" style="font-size:3.17499995px;fill:#003399;stroke-width:0.26458332"
y="-3.0501018" y="-3.0501018"

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

@ -106,7 +106,7 @@
x="-41.95536" x="-41.95536"
y="-12.751491" y="-12.751491"
style="font-size:3.17499995px;fill:#003399;stroke-width:0.26458332" style="font-size:3.17499995px;fill:#003399;stroke-width:0.26458332"
id="tspan4526">&quot;&lt;/head&gt;&quot;</tspan><tspan id="tspan4526">&quot;&lt;head&gt;&quot;</tspan><tspan
x="-41.95536" x="-41.95536"
y="-7.9007959" y="-7.9007959"
style="font-size:3.17499995px;fill:#003399;stroke-width:0.26458332" style="font-size:3.17499995px;fill:#003399;stroke-width:0.26458332"

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Loading…
Cancel
Save