Prompt YAML Lint Report
Score: ${report.score}/100
File: ${escapeHtml(report.file)}
From 0540d995f65d5780ac783b59e820c2ab2c535902 Mon Sep 17 00:00:00 2001 From: Aolinge <153434584+aolingge@users.noreply.github.com> Date: Sun, 11 Oct 2026 13:44:23 +0800 Subject: [PATCH] fix: make prompt and text HTML reports readable on mobile --- CHANGELOG.md | 4 ++++ src/prompt/promptYamlLint.ts | 14 +++++++++++--- src/text/textAudit.ts | 10 +++++++++- 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e00adf..de25e8b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## Unreleased + +- Make prompt-lint and text-audit HTML reports readable on mobile screens, wrapping long paths and table content; identify the text-audit document language. + ## 0.1.0 - Added the first productized CLI: `scan`, `doctor`, and `init`. diff --git a/src/prompt/promptYamlLint.ts b/src/prompt/promptYamlLint.ts index 26e46fe..a33de5d 100644 --- a/src/prompt/promptYamlLint.ts +++ b/src/prompt/promptYamlLint.ts @@ -193,8 +193,16 @@ function formatPromptHtml(report: PromptLintReport): string { const rows = report.results.map((result) => `
Score: ${report.score}/100
File: ${escapeHtml(report.file)}
Score: ${report.score}/100
Profile: ${escapeHtml(report.profile)}
| Status | Check | Message |
|---|
Score: ${report.score}/100
Profile: ${escapeHtml(report.profile)}
| Status | Check | Message |
|---|