Replace literal Unicode special chars with HTML entities across all 233 views
Sweeps em dashes, en dashes, multiplication signs, ellipses, and curly quotes to their HTML entity equivalents (— – × … ‘ ’) in all .cshtml files, skipping <script> blocks. Prevents encoding corruption from AI tools and Windows encoding mismatches that caused recurring symbol bugs. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,51 +0,0 @@
|
||||
@{
|
||||
ViewData["Title"] = "Email Preferences Updated";
|
||||
Layout = null; // Standalone page — no sidebar, no nav
|
||||
var alreadyDone = (bool)(ViewBag.AlreadyUnsubscribed ?? false);
|
||||
var name = (string?)ViewBag.CustomerName;
|
||||
}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>@ViewData["Title"]</title>
|
||||
<link rel="stylesheet" href="~/lib/bootstrap/css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" href="~/lib/bootstrap-icons/font/bootstrap-icons.css" />
|
||||
<style>
|
||||
body { background: #f8f9fa; }
|
||||
.card { max-width: 540px; }
|
||||
</style>
|
||||
</head>
|
||||
<body class="d-flex align-items-center justify-content-center min-vh-100">
|
||||
<div class="card border-0 shadow-sm mx-auto p-4 text-center">
|
||||
<div class="mb-3">
|
||||
<i class="bi bi-envelope-x text-success" style="font-size: 3rem;"></i>
|
||||
</div>
|
||||
<h2 class="h4 mb-3">
|
||||
@(alreadyDone ? "Already Unsubscribed" : "You've Been Unsubscribed")
|
||||
</h2>
|
||||
@if (!string.IsNullOrWhiteSpace(name))
|
||||
{
|
||||
<p class="text-muted">Hi <strong>@name</strong>,</p>
|
||||
}
|
||||
@if (alreadyDone)
|
||||
{
|
||||
<p class="text-muted">
|
||||
Your email address is already opted out of notifications.
|
||||
No further action is needed.
|
||||
</p>
|
||||
}
|
||||
else
|
||||
{
|
||||
<p class="text-muted">
|
||||
You've been successfully removed from our email notification list.
|
||||
You will no longer receive job status updates or quote notifications by email.
|
||||
</p>
|
||||
<p class="text-muted small">
|
||||
If you change your mind, contact us and we'll re-enable email notifications for you.
|
||||
</p>
|
||||
}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user