t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: LaTeX displays as raw text on mobile/iPad with Render math enabled

Open nosabecom opened this issue 4 weeks ago • 0 comments

Before submitting

  • [x] I searched existing issues and did not find a duplicate.
  • [x] I included enough detail to reproduce or investigate the problem.

Area

apps/mobile

Steps to reproduce

  1. Update both affected T3 Code clients to the latest available release.
  2. On mobile/iPad, enable Settings → Appearance → Render math.
  3. Open a conversation containing an assistant reply with inline/display LaTeX and matrices. For example:
\[A=\begin{pmatrix}1&1\\0&1\end{pmatrix}\]
\[\det(A-\lambda I)=0\]
  1. Read the reply on mobile/iPad.

Observed repeatedly in an existing conversation, with the setting visibly enabled. The minimal examples above represent the affected notation; they have not been isolated in a fresh test conversation.

Expected behavior

With Render math enabled, equations, matrix brackets/entries, fractions, subscripts, and superscripts should render as formatted mathematics on mobile/iPad.

Actual behavior

Assistant replies show raw LaTeX source and delimiters instead of formatted math on mobile/iPad. Commands such as \begin{pmatrix}, \frac, and inverse/power notation remain visible, making matrix explanations difficult to read. The user supplied an iPad screenshot of the affected reply and another showing Render math enabled, and reported the recurring problem while confirming that both clients are on the latest version.

Related: #29493 describes a web parse failure involving an unescaped percent sign. The matrix examples here do not contain percent signs; no root cause has been established for this mobile report.

Impact

Major degradation or frequent failure

Version or commit

Latest available version on both affected clients, confirmed November 2, 2026. Exact build numbers not supplied.

Environment

T3 Code mobile/iPad client, dark appearance; Render math enabled. Both affected clients are up to date. Exact device models, OS versions, build numbers, and native-app versus browser details have not been recorded.

Logs or stack traces


Screenshots, recordings, or supporting files

No response

Workaround

Ask the assistant to render the mathematical explanation as HTML with ordinary Unicode text and CSS matrix layout. That is readable on mobile/iPad, but requires an alternate response format for math explanations.

nosabecom avatar Nov 02 '26 21:11 nosabecom