diff --git a/BTCPayServer/wwwroot/cart/js/cart.js b/BTCPayServer/wwwroot/cart/js/cart.js index d7fe8269f..4510fa8a5 100644 --- a/BTCPayServer/wwwroot/cart/js/cart.js +++ b/BTCPayServer/wwwroot/cart/js/cart.js @@ -249,9 +249,15 @@ Cart.prototype.formatCurrency = function(amount, currency, symbol) { if (srvModel.currencyInfo.prefixed) { prefix = srvModel.currencyInfo.currencySymbol; + if (srvModel.currencyInfo.symbolSpace) { + prefix = prefix + ' '; + } } else { postfix = srvModel.currencyInfo.currencySymbol; + if (srvModel.currencyInfo.symbolSpace) { + postfix = ' ' + postfix; + } } thousandsSep = srvModel.currencyInfo.thousandSeparator; decimalSep = srvModel.currencyInfo.decimalSeparator;