-
@Html.Raw(Model.Description)
+
@Safe.Raw(Model.Description)
- var srvModel = @Html.Raw(Json.Serialize(Model));
+ var srvModel = @Safe.Json(Model);
@@ -33,7 +33,7 @@
@if (!string.IsNullOrEmpty(Model.EmbeddedCSS))
{
}
diff --git a/BTCPayServer/Views/AppsPublic/ViewPointOfSale.cshtml b/BTCPayServer/Views/AppsPublic/ViewPointOfSale.cshtml
index c8e63464d..dede86e3c 100644
--- a/BTCPayServer/Views/AppsPublic/ViewPointOfSale.cshtml
+++ b/BTCPayServer/Views/AppsPublic/ViewPointOfSale.cshtml
@@ -31,7 +31,7 @@
{
}
diff --git a/BTCPayServer/Views/Home/BitpayTranslator.cshtml b/BTCPayServer/Views/Home/BitpayTranslator.cshtml
index 864ba8eee..98b25abd1 100644
--- a/BTCPayServer/Views/Home/BitpayTranslator.cshtml
+++ b/BTCPayServer/Views/Home/BitpayTranslator.cshtml
@@ -10,7 +10,7 @@
You need to pay @Model.Amount to @Model.Address
-
+
Open in wallet
@@ -52,7 +52,7 @@
@@ -114,8 +114,8 @@
@@ -34,7 +34,7 @@
@if (!string.IsNullOrEmpty(Model.EmbeddedCSS))
{
}
diff --git a/BTCPayServer/Views/PublicLightningNodeInfo/ShowLightningNodeInfo.cshtml b/BTCPayServer/Views/PublicLightningNodeInfo/ShowLightningNodeInfo.cshtml
index 5ace66639..2ae4e3042 100644
--- a/BTCPayServer/Views/PublicLightningNodeInfo/ShowLightningNodeInfo.cshtml
+++ b/BTCPayServer/Views/PublicLightningNodeInfo/ShowLightningNodeInfo.cshtml
@@ -23,7 +23,7 @@
+