handle escape sequences
fix single/double quotes Fixes #1