src/html.cpp

changeset 42
e0f3d41ae44b
parent 41
19cc90878968
child 44
de22ded6d50a
equal deleted inserted replaced
41:19cc90878968 42:e0f3d41ae44b
70 void html::open(bool fragment) { 70 void html::open(bool fragment) {
71 if (fragment) { 71 if (fragment) {
72 puts("<div class=\"heatmap-content\">"); 72 puts("<div class=\"heatmap-content\">");
73 indentation = 1; 73 indentation = 1;
74 } else { 74 } else {
75 puts(R"(<html> 75 puts(R"(<!DOCTYPE html>
76 <html>
76 <head> 77 <head>
77 <style> 78 <style>
78 table.heatmap { 79 table.heatmap {
79 table-layout: fixed; 80 table-layout: fixed;
80 border-collapse: collapse; 81 border-collapse: collapse;

mercurial