Fix — HTML entity rendering across 60 views

Razor's @() expression auto-encodes &, turning — into — which
rendered as literal text in the browser. Wrapped all such expressions in
@Html.Raw() so the em-dash entity is passed through unescaped.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-23 09:27:45 -04:00
parent f018653c18
commit 64a9c1531b
60 changed files with 155 additions and 155 deletions
@@ -483,10 +483,10 @@
<tr>
<td style="text-align: center;">@coat.Sequence</td>
<td><strong>@coat.CoatName</strong></td>
<td>@(coat.ColorName ?? "&mdash;")</td>
<td>@(coat.ColorCode ?? "&mdash;")</td>
<td>@(coat.Finish ?? "&mdash;")</td>
<td>@(coat.VendorName ?? "&mdash;")</td>
<td>@Html.Raw(coat.ColorName ?? "&mdash;")</td>
<td>@Html.Raw(coat.ColorCode ?? "&mdash;")</td>
<td>@Html.Raw(coat.Finish ?? "&mdash;")</td>
<td>@Html.Raw(coat.VendorName ?? "&mdash;")</td>
<td>
@if (coat.PowderToOrder.HasValue && coat.PowderToOrder.Value > 0)
{