verify editor is in quotes

Also check to make sure that quotes are only at the beginning and end of the string