Before submitting
Area
apps/web and apps/desktop
Steps to reproduce
- Open a thread in T3 Code and focus the composer.
- Type a prompt containing JSX or HTML-like code, for example:
<div className="wrong-tailwind-class">yo<div/> please fix the class in above
- Submit the message.
- Inspect the submitted user message in the chat transcript.
Expected behavior
The submitted user message should preserve the complete prompt exactly as typed, including JSX/HTML-like text, Tailwind classes, angle brackets, quotes, brackets, and punctuation.
Actual behavior
After submission, the JSX/HTML-like portion becomes missing from the rendered user message while the surrounding prose remains. The text is present while composing, but disappears after the message is submitted. This greatly confuses the user, since they think they might have forgotten to pase the JSX in the prompt.
My message before sending:

My message in chat after sending:

Impact
Major degradation or frequent failure when prompts contain code or markup.
Version or commit
a261a64
Environment
T3 Code Macos app's composer;
Before submitting
Area
apps/web and apps/desktop
Steps to reproduce
<div className="wrong-tailwind-class">yo<div/> please fix the class in aboveExpected behavior
The submitted user message should preserve the complete prompt exactly as typed, including JSX/HTML-like text, Tailwind classes, angle brackets, quotes, brackets, and punctuation.
Actual behavior
After submission, the JSX/HTML-like portion becomes missing from the rendered user message while the surrounding prose remains. The text is present while composing, but disappears after the message is submitted. This greatly confuses the user, since they think they might have forgotten to pase the JSX in the prompt.
My message before sending:


My message in chat after sending:
Impact
Major degradation or frequent failure when prompts contain code or markup.
Version or commit
a261a64
Environment
T3 Code Macos app's composer;