ControlRoom icon indicating copy to clipboard operation
ControlRoom copied to clipboard

Push Notification Text Editor Loves Smart Quotes

Open jacobvanorder opened this issue 2 years ago • 3 comments

When I try to edit the text here:

image of text editor on App tab

It replaces the quotes (") with smart quotes () because that's what Steve Jobs would have wanted. Unfortunately, that is not valid JSON.

Anyway, the editor is here: https://github.com/twostraws/ControlRoom/blob/main/ControlRoom/Simulator%20UI/ControlScreens/AppView/AppView.swift#L125-L132

I'd add a modifier myself but it looks like there isn't one, at least not according to Stack Overflow.

jacobvanorder avatar May 22 '23 21:05 jacobvanorder

I wonder if we should do a simple string replace before triggering the push?

twostraws avatar May 23 '23 10:05 twostraws

Hi everyone, any news on this? Or a work-around for disabling smart quotes? Thank you!

noises1990 avatar Oct 30 '23 11:10 noises1990

Got the same issue today, I'm thinking about string replace occurrence but do not have tested yet.

Harry-KNIGHT avatar Nov 29 '23 19:11 Harry-KNIGHT