Simplified single-quoted string escaping.