Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push Notification Text Editor Loves Smart Quotes #168

Open
jacobvanorder opened this issue May 22, 2023 · 3 comments
Open

Push Notification Text Editor Loves Smart Quotes #168

jacobvanorder opened this issue May 22, 2023 · 3 comments

Comments

@jacobvanorder
Copy link

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.

@twostraws
Copy link
Owner

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

@noises1990
Copy link

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

@Harry-KNIGHT
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants