Fix escape options
Add test case for inline escape