This commit introduces a utility function to address rendering issues in LLM output, particularly for Chinese characters and parentheses. The function ensures minimal modification of the original text while fixing markdown parsing problems.
Changes include:
- Added in for handling specific cases.
- Updated in to incorporate the new utility.
The fix ensures proper rendering of bold/italic text containing Chinese parentheses, improving readability for non-English content.