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:
@@ -97,7 +97,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="ps-4">Last Migration</th>
|
||||
<td><small class="text-muted font-monospace">@(Model.LastAppliedMigration ?? "—")</small></td>
|
||||
<td><small class="text-muted font-monospace">@Html.Raw(Model.LastAppliedMigration ?? "—")</small></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="ps-4">Last Seed Run</th>
|
||||
|
||||
Reference in New Issue
Block a user