Fix — HTML entity rendering across 60 views
Razor's @() expression auto-encodes &, turning — into &mdash; 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:
@@ -93,7 +93,7 @@
|
||||
<strong>@tier.TierName</strong>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-muted small">@(tier.Description ?? "—")</span>
|
||||
<span class="text-muted small">@Html.Raw(tier.Description ?? "—")</span>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
@if (tier.DiscountPercent == 0)
|
||||
|
||||
Reference in New Issue
Block a user