You are mixing curly quotes and straight quotes. What you need are straight quotes.
The one in the red circle is a curly quote (wrong), the green one looks like a straight quote (OK):
Concerning the different types of quotes, see also my post here.
PS:
I guess the curly quote was produced by the system’s Smart Quotes feature.
When editing in KM Editor it’s probably a good idea to disable Smart Quotes (KM Editor > Edit > Substitutions > uncheck Smart Quotes):
Or disable it globally in System Preferences > Keyboard > Text.
Search the Forum for “smart quotes” to find posts about related issues.