From 21b39161a3466bb42903ef778eb4d13dd8ce464a Mon Sep 17 00:00:00 2001 From: Scott Pouliot Date: Wed, 20 May 2026 17:06:31 -0400 Subject: [PATCH] Fix encoding corruption in Bills and Expenses views Replace literal Unicode chars (em dash, ellipsis, angle quotes, box-drawing) with HTML entities to prevent corruption from AI tools and Windows encoding. Co-Authored-By: Claude Sonnet 4.6 --- src/PowderCoating.Web/Views/Bills/Index.cshtml | 12 ++++++------ .../Views/Expenses/Create.cshtml | 18 +++++++++--------- .../Views/Expenses/Edit.cshtml | 14 +++++++------- .../Views/Expenses/Index.cshtml | 2 +- 4 files changed, 23 insertions(+), 23 deletions(-) diff --git a/src/PowderCoating.Web/Views/Bills/Index.cshtml b/src/PowderCoating.Web/Views/Bills/Index.cshtml index 1107a17..dc45aad 100644 --- a/src/PowderCoating.Web/Views/Bills/Index.cshtml +++ b/src/PowderCoating.Web/Views/Bills/Index.cshtml @@ -62,7 +62,7 @@
+ placeholder="Search by #, vendor, memo, amount…" />
- +
@@ -84,8 +84,8 @@
@@ -99,7 +99,7 @@
@@ -154,7 +154,7 @@ } }); - // ── AI Suggest Account ──────────────────────────────────────────────── + // -- AI Suggest Account ------------------------------------------------ let _expAiSuggestedAccountId = null; document.getElementById('expAiSuggestBtn').addEventListener('click', async function () { diff --git a/src/PowderCoating.Web/Views/Expenses/Edit.cshtml b/src/PowderCoating.Web/Views/Expenses/Edit.cshtml index 510d0a1..1c0dfd9 100644 --- a/src/PowderCoating.Web/Views/Expenses/Edit.cshtml +++ b/src/PowderCoating.Web/Views/Expenses/Edit.cshtml @@ -40,12 +40,12 @@ + data-bs-content="The expense category this purchase belongs to — e.g. Supplies, Materials, Utilities, Fuel. This account is debited when the expense is saved. Choose the most specific account that fits to keep your reports accurate.">
@@ -70,8 +70,8 @@
@@ -85,7 +85,7 @@
diff --git a/src/PowderCoating.Web/Views/Expenses/Index.cshtml b/src/PowderCoating.Web/Views/Expenses/Index.cshtml index 2bc9262..04fbae3 100644 --- a/src/PowderCoating.Web/Views/Expenses/Index.cshtml +++ b/src/PowderCoating.Web/Views/Expenses/Index.cshtml @@ -34,7 +34,7 @@
+ placeholder="Search memo or vendor…" />