623add89f1
- Enhanced the `sanitizeForDisplay` function to correctly remove empty inline code snippets (`` or ` `) while preserving triple-backtick fenced code blocks. - This change ensures better rendering of code blocks in the chat interface, improving overall display accuracy.