BBCode를 붙여넣는 사용자가 있다면, discourse_math_enable_latex_delimiters를 비활성화해 볼 수 있습니다.
하지만 저 역시 문제를 재현하지 못했습니다. 제 경우 클립보드에 저장된 내용은 다음과 같았습니다:
Formats: TIMESTAMP,TARGETS,SAVE_TARGETS,MULTIPLE,STRING,UTF8_STRING,TEXT,text/plain,text/plain;charset=utf-8,chromium/x-internal-source-rfh-token,chromium/x-source-url
'[details="summary"]\nsome text\n[/details]'
또는 일반 텍스트 버전:
Formats: TARGETS,UTF8_STRING
'[details="summary"]\nsome plain text\n[/details]\n'
브라우저의 복사/붙여넣기(복사 버튼 대신)를 사용하면 클립보드에는 다음이 저장되었습니다:
Formats: TIMESTAMP,TARGETS,SAVE_TARGETS,MULTIPLE,STRING,UTF8_STRING,TEXT,text/html,text/plain,text/plain;charset=utf-8,chromium/x-internal-source-rfh-token,chromium/x-source-url
UTF8_STRING:
b'[details="summary"]\nsome text\n[/details]'
text/html:
b'<span style="color: rgb(199, 199, 199); font-family: "JetBrains Mono", Consolas, Monaco, monospace; font-size: 15.75px; font-style: normal; font-variant-ligatures: none; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: pre; background-color: rgba(0, 0, 0, 0.25); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">[details="summary"]\nsome text\n[/details]</span>'
text/plain:
b'[details="summary"]\nsome text\n[/details]'
text/plain;charset=utf-8:
b'[details="summary"]\nsome text\n[/details]'
하지만 이 경우에도 붙여넣기는 정상적으로 작동했습니다.