main ← tgxworld/fix-tilde-fence-paste
merged 02:13AM - 16 Sep 26 UTC
When someone pastes formatted text into a code block opened with three tildes (`…~~~`), the Markdown composer adds formatting markers such as `**` to the pasted text. The same paste into a code block opened with three backticks stays unchanged.
This commit makes both kinds of code block preserve pasted text. Pasting formatted text outside a code block still converts it to Markdown as before.
### Reviewer notes
#### Before this fix
The composer incorrectly converts the HTML representation to Markdown, producing `prefix **bold**` inside the tilde-fenced code block.

#### After this fix
The composer uses the plain-text representation inside the code block, producing `prefix bold` without formatting markers.
