First, review the linked PR (#91) that introduced the escaping behavior. Then, search the codebase for escape functions, likely in a module handling markdown or HTML conversion. The issue indicates that HTML outside of a certain character (likely a backtick or code block) should be escaped, while inside it should not. Look at the existing logic to identify where the escaping occurs and how to conditionally apply it.