From 42aa24411aca3e5a1ead12094102dcc3d0293ca1 Mon Sep 17 00:00:00 2001 From: Derek Holloway Date: Wed, 28 May 2025 20:39:23 -0700 Subject: [PATCH] Fix newline in description for store --- src/MistoxWebsite.Client/Pages/Store/Catalog.razor | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/MistoxWebsite.Client/Pages/Store/Catalog.razor b/src/MistoxWebsite.Client/Pages/Store/Catalog.razor index 5556c74..212c4d1 100755 --- a/src/MistoxWebsite.Client/Pages/Store/Catalog.razor +++ b/src/MistoxWebsite.Client/Pages/Store/Catalog.razor @@ -20,7 +20,11 @@ }

@obj.Name

-

@obj.Description

+
+ @foreach(string cur in @obj.Description.Split('\n')){ +

@cur

+ } +

$@((Convert.ToSingle(obj.Cost)/100f).ToString("0.00"))

@if ( isOwned(obj.ID) ) {