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/KernelName.Uptime.HTML.expected | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 fixtures/KernelName.Uptime.HTML.expected (limited to 'fixtures/KernelName.Uptime.HTML.expected') diff --git a/fixtures/KernelName.Uptime.HTML.expected b/fixtures/KernelName.Uptime.HTML.expected new file mode 100644 index 0000000..862be60 --- /dev/null +++ b/fixtures/KernelName.Uptime.HTML.expected @@ -0,0 +1,19 @@ + + + + +Top 3 Uptime's by KernelName + + +

Top 3 Uptime's by KernelName

+

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

+
+-----+------------+-----------------------------+
+| Pos | KernelName |                      Uptime |
++-----+------------+-----------------------------+
+|  1. |      Linux | 19 years, 4 months, 18 days |
+|  2. |    FreeBSD | 9 years, 11 months, 29 days |
+|  3. |    OpenBSD |  3 years, 1 months, 18 days |
++-----+------------+-----------------------------+
+
+ + -- cgit v1.2.3