remvoe sanitzer from views and use extensions instead of keys
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<div class="page container py-4 px-4">
|
||||
<header class="text-center">
|
||||
<div class="header-1 alert alert-secondary" role="alert">
|
||||
<h3 class="text">@_localizer[WebKey.WelcomeToTheESignPortal]</h3>
|
||||
<h3 class="text">@_localizer.WelcomeToTheESignPortal()</h3>
|
||||
<img class="@cImg["Company"].GetClassIn("Locked")" src="@cImg["Company"].Src" />
|
||||
</div>
|
||||
<div class="icon mt-4 mb-1">
|
||||
@@ -27,12 +27,12 @@
|
||||
@if (ViewData["ErrorMessage"] is string errMsg)
|
||||
{
|
||||
<div id="access-code-error-message" class="alert alert-danger row" role="alert">
|
||||
@_sanitizer.Sanitize(errMsg)
|
||||
@errMsg
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
<script nonce="@nonce">
|
||||
const msg = "@_localizer[WebKey.HomePageDescription]";
|
||||
const msg = "@_localizer.HomePageDescription()";
|
||||
var typed = new Typed('#home-description', {
|
||||
strings: [msg],
|
||||
typeSpeed: 15,
|
||||
|
||||
Reference in New Issue
Block a user