now really fixed #22

Handle the case when a string literal contains the end-symbol -> try to double quote if StringOptions.AllowsDoubledQuote is turned on, or try to escape if StringOptions.NoEscapes is turned off