#Copy icon strips LaTeX delimiters from messages

1 messages · Page 1 of 1 (latest)

peak forgeBOT
#

Reported by @fallen sparrow

Bug Report: Copy icon strips LaTeX delimiters from messages
`Steps to Reproduce`
  1. In the ChatGPT website, open any message that contains LaTeX with inline or display delimiters, e.g. \(...\), \[...\], or code that relies on leading backslashes.
  2. Tap the copy icon at the bottom of that message (do not select text manually).
  3. Paste the result into any plain-text editor or LaTeX document.
`Expected Result`

The copied text is identical to what was rendered in the chat—all characters preserved verbatim (including \(, \), \[, \], $ and leading backslashes before punctuation), so it compiles in LaTeX without edits.

`Actual Result`

The copy action removes LaTeX delimiters and backslashes:

  • \((, \)), \[[, \]] (and other leading \ before punctuation are stripped).
  • Example intended text:
    \(\mathcal G = (G_t=([n],E_t): t\in\mathbb N)\)v
    After using the copy icon:
    (\mathcal G = (G_t=([n],E_t): t in mathbb N))
    This breaks pasted content for LaTeX users and forces manual repair. It’s a regression—previously the copy icon preserved raw text.
`Environment`

ChatGPT website, Google Chrome, Windows 11