GuillaumeSalles/resuggest

Handle iOS 11 Smart Punctuation Quotes

Opened this issue · 0 comments

I was looking to demo resuggest to a friend on my iPhone and realized that iOS 11 produces ‘’ and “” as quotes now instead of ' and ".

This led to the impression that the tool was broken! ☹️

Naturally this breaks for anything that has Js.String as an input or output

This behavior can be disabled in iOS 11 by turning Smart Punctuation off, but it's on by default.

I see two potential solutions:

  1. Automatically map the "smart quotes" to normal quotes
  2. When detecting iOS 11+, add a warning message about quotes

Thoughts?