Chatbot component freeze when using specific LaTeX delimiters #8006
Labels
bug
Something isn't working
Priority
High priority issues
Regression
Bugs did not exist in previous versions of Gradio
Describe the bug
The issue I'm encountering is reminiscent of the one documented in #7651. Specifically, when setting certain LaTeX delimiters (such as
\[
and\]
, or$
) within the Chatbot component, it ceases to function, accompanied by a JavaScript error identical to the one described in the referenced issue.I think this malfunction likely stems from a conflict between the JavaScript responsible for markdown rendering and that for LaTeX rendering, as both systems utilize similar notation (e.g.,
[xxx]
in Markdown). Interestingly, using$
as a LaTeX delimiter is expected to be conflict-free, I don't know what could go wrong. Besides, messages incorporating\[
and\]
consistently trigger this bug 100% of the time, whereas$
results in the bug approximately 50% of the time.Have you searched existing issues? 🔎
Reproduction
chatbots3.json
chatbots4.json
Screenshot
Logs
System Info
Severity
I can work around it
The text was updated successfully, but these errors were encountered: