From c053f1e04ffb0fb89743cc7bc5154efaf6e8a0bf Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 14 Apr 2026 10:10:50 +0300 Subject: Add HTML OutputFormat and report API support (ask task 03) - Add FormatHTML with parse/string and HTMLReporter on existing report path - Emit minimal HTML document with escaped title, description, and pre table - Daemon /report sets text/html Content-Type for HTML format - Integration fixtures and tests for HTML Made-with: Cursor --- fixtures/Kernel.Uptime.HTML.expected | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 fixtures/Kernel.Uptime.HTML.expected (limited to 'fixtures/Kernel.Uptime.HTML.expected') diff --git a/fixtures/Kernel.Uptime.HTML.expected b/fixtures/Kernel.Uptime.HTML.expected new file mode 100644 index 0000000..d57421a --- /dev/null +++ b/fixtures/Kernel.Uptime.HTML.expected @@ -0,0 +1,19 @@ + + + + +Top 3 Uptime's by Kernel + + +

Top 3 Uptime's by Kernel

+

Uptime is the total uptime of a host over the entire lifespan.

+
+-----+------------------------------------+-----------------------------+
+| Pos |                             Kernel |                      Uptime |
++-----+------------------------------------+-----------------------------+
+|  1. |                Linux 3.2.0-4-amd64 |  3 years, 5 months, 23 days |
+|  2. |  Linux 3.10.0-1160.15.2.el7.x86_64 | 1 years, 12 months, 15 days |
+|  3. |   Linux 3.10.0-957.21.3.el7.x86_64 |  1 years, 7 months, 13 days |
++-----+------------------------------------+-----------------------------+
+
+ + -- cgit v1.2.3