Ahh, that’s it, iOS is turning two dashes into an em dash. It is the iOS feature of smart punctuation turning two dashes into an em dash. When I turn off smart punctation it works fine. Here is an article about it: Mastering iOS: How to make two hyphens not equal an em dash. - wolfe with an e's blog