From d625bec501301b45c072bc9772e97f802a55f547 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Sat, 1 Nov 2025 08:31:19 +0000
Subject: [PATCH 1/2] Initial plan
From a7db5db9b62310295142f171f3c2ef83a3580d08 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Sat, 1 Nov 2025 08:38:47 +0000
Subject: [PATCH 2/2] Fix failing SARIF formatter test by updating test fixture
Co-authored-by: coliff <1212885+coliff@users.noreply.github.com>
---
test/cli/formatters/sarif.sarif | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/cli/formatters/sarif.sarif b/test/cli/formatters/sarif.sarif
index ed08e0b49..614b22c67 100644
--- a/test/cli/formatters/sarif.sarif
+++ b/test/cli/formatters/sarif.sarif
@@ -48,7 +48,7 @@
"helpUri": "https://htmlhint.com/rules/spec-char-escape",
"help": {
"text": "Special characters must be escaped.",
- "markdown": "\nSpecial characters must be escaped.\n\nLevel: Error\n\n## Config value\n\n- `true`: enable rule\n- `false`: disable rule\n\n### The following patterns are **not** considered violations\n\n```html\n``aaa>bbb<ccc``\n``Steinway & Sons, Q&A``\n``Steinway & Sons, Q&A``\n```\n\n### The following pattern is considered a rule violation:\n\n```html\n``aaa>bbb``\n```"
+ "markdown": "\nSpecial characters must be escaped.\n\nLevel: Error\n\n## Config value\n\n- `true`: enable rule\n- `false`: disable rule\n\n### The following patterns are **not** considered violations\n\n```html\n``aaa>bbb<ccc``\n``Steinway & Sons, Q&A``\n``Steinway & Sons, Q&A``\n```\n\n### The following pattern is considered a rule violation:\n\n```html\n``aaa>bbb``\n```\n\n## Why this rule is important\n\nSpecial HTML characters like `<`, `>`, and `&` must be escaped to prevent them from being interpreted as HTML tags or entities. This avoids rendering issues and potential cross-site scripting (XSS) vulnerabilities."
}
}
],