mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
Fix POS item newline break (#2366)
* Fix POS item newline break fixes #2365 * Update TemplateEditor.cshtml * fix template editor with " * apply sanitize on save
This commit is contained in:
@@ -165,7 +165,7 @@ namespace BTCPayServer.Controllers
|
||||
ModelState.AddModelError(nameof(vm.Currency), "Invalid currency");
|
||||
try
|
||||
{
|
||||
_AppService.Parse(vm.Template, vm.Currency);
|
||||
vm.Template = _AppService.SerializeTemplate(_AppService.Parse(vm.Template, vm.Currency));
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user