Push Notification Text Editor Loves Smart Quotes
When I try to edit the text here:
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.
I wonder if we should do a simple string replace before triggering the push?
Hi everyone, any news on this? Or a work-around for disabling smart quotes? Thank you!
Got the same issue today, I'm thinking about string replace occurrence but do not have tested yet.