From 6cb4c74fe343c4e1f091948e68b9686683e93645 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Mon, 10 Nov 2025 15:35:37 -0600 Subject: [PATCH] json compatible escaping for special characters --- app/views/pwa/manifest.json.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/pwa/manifest.json.erb b/app/views/pwa/manifest.json.erb index ff66cb7b3..8938626a1 100644 --- a/app/views/pwa/manifest.json.erb +++ b/app/views/pwa/manifest.json.erb @@ -1,5 +1,5 @@ { - "name": "<%= [ Account.sole.name, "Fizzy", Rails.env.production? ? nil : Rails.env ].compact.join(" - ") %>", + "name": <%= [ "Fizzy", Account.sole.name, Rails.env.production? ? nil : Rails.env ].compact.join(" - ").to_json.html_safe %>, "icons": [ { "src": "/app-icon-192.png",