unclever-ify escape_quotes logic, make follow-up checks suffix conditions