Skip to content
Snippets Groups Projects
Unverified Commit cfad5a51 authored by fireice-uk's avatar fireice-uk Committed by GitHub
Browse files

Merge pull request #1151 from jimmielin/master

Fix #1122 - HTML report violates XML rules
parents 98763bf0 dc0524c2
No related branches found
No related tags found
No related merge requests found
...@@ -152,7 +152,7 @@ extern const char sHtmlMotdEntry[] = "<div class='motd-head'>Message from %s</di ...@@ -152,7 +152,7 @@ extern const char sHtmlMotdEntry[] = "<div class='motd-head'>Message from %s</di
extern const char sHtmlMotdBoxEnd[] = "</div>"; extern const char sHtmlMotdBoxEnd[] = "</div>";
extern const char sHtmlHashrateBodyHigh [] = extern const char sHtmlHashrateBodyHigh [] =
"<div class=data>" "<div class='data'>"
"<table>" "<table>"
"<tr><th>Thread ID</th><th>10s</th><th>60s</th><th>15m</th><th rowspan='%u'>H/s</td></tr>"; "<tr><th>Thread ID</th><th>10s</th><th>60s</th><th>15m</th><th rowspan='%u'>H/s</td></tr>";
...@@ -166,7 +166,7 @@ extern const char sHtmlHashrateBodyLow [] = ...@@ -166,7 +166,7 @@ extern const char sHtmlHashrateBodyLow [] =
"</div></div></body></html>"; "</div></div></body></html>";
extern const char sHtmlConnectionBodyHigh [] = extern const char sHtmlConnectionBodyHigh [] =
"<div class=data>" "<div class='data'>"
"<table>" "<table>"
"<tr><th>Pool address</th><td>%s</td></tr>" "<tr><th>Pool address</th><td>%s</td></tr>"
"<tr><th>Connected since</th><td>%s</td></tr>" "<tr><th>Connected since</th><td>%s</td></tr>"
...@@ -183,7 +183,7 @@ extern const char sHtmlConnectionBodyLow [] = ...@@ -183,7 +183,7 @@ extern const char sHtmlConnectionBodyLow [] =
"</table></div></div></body></html>"; "</table></div></div></body></html>";
extern const char sHtmlResultBodyHigh [] = extern const char sHtmlResultBodyHigh [] =
"<div class=data>" "<div class='data'>"
"<table>" "<table>"
"<tr><th>Difficulty</th><td>%u</td></tr>" "<tr><th>Difficulty</th><td>%u</td></tr>"
"<tr><th>Good results</th><td>%u / %u (%.1f %%)</td></tr>" "<tr><th>Good results</th><td>%u / %u (%.1f %%)</td></tr>"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment