mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-13 11:35:51 +01:00
UI: Do not escape apostrophe in custom server name (#6391)
Fixes #6352.
This commit is contained in:
parent
809e475e29
commit
088c0c7f85
2 changed files with 2 additions and 4 deletions
|
@ -1,5 +1,4 @@
|
|||
@using BTCPayServer.Services
|
||||
@using Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
@using BTCPayServer.Components.MainLogo
|
||||
@using System.Text
|
||||
@inject SettingsRepository SettingsRepository
|
||||
|
@ -49,7 +48,7 @@
|
|||
<vc:main-logo />
|
||||
</a>
|
||||
|
||||
<h1 class="h2 mb-3" text-translate="true">@ViewLocalizer["Welcome to {0}", string.IsNullOrWhiteSpace(settings.ServerName) ? "BTCPay Server" : settings.ServerName]</h1>
|
||||
<h1 class="h2 mb-3">@ViewLocalizer["Welcome to {0}", string.IsNullOrWhiteSpace(settings.ServerName) ? "BTCPay Server" : settings.ServerName]</h1>
|
||||
@if (ViewBag.ShowLeadText)
|
||||
{
|
||||
<p class="lead">
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
@using BTCPayServer.Services
|
||||
@using Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
@model HomeViewModel;
|
||||
@inject SettingsRepository SettingsRepository
|
||||
@{
|
||||
|
@ -9,7 +8,7 @@
|
|||
|
||||
<partial name="_StatusMessage" />
|
||||
|
||||
<h2 text-translate="true">@ViewLocalizer["Welcome to {0}", string.IsNullOrWhiteSpace(settings.ServerName) ? "BTCPay Server" : settings.ServerName]</h2>
|
||||
<h2>@ViewLocalizer["Welcome to {0}", string.IsNullOrWhiteSpace(settings.ServerName) ? "BTCPay Server" : settings.ServerName]</h2>
|
||||
|
||||
@if (!Model.HasStore)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue