Ah, it seems iOS 11 includes smart quotes, so all your simple quotation marks are being changes into a closing quotation mark. As with most "smart" stuff, it is only smart enough to stop people doing what they want ...