fix(_Layout): sanitzer entfernt, um Json-Deserilisationsfehler zu vermeiden.
This commit is contained in:
parent
b8fbeee322
commit
3688373481
@ -68,7 +68,7 @@
|
||||
{
|
||||
ContractResolver = new CamelCasePropertyNamesContractResolver()
|
||||
};
|
||||
var lStrsJson = JsonConvert.SerializeObject(_localizer.ToDictionary(), settings).TrySanitize(_sanitizer);
|
||||
var lStrsJson = JsonConvert.SerializeObject(_localizer.ToDictionary(), settings);
|
||||
}
|
||||
<script nonce="@nonce">
|
||||
var localized = @Html.Raw(lStrsJson)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user