When copying the text from the page by drag-selecting it I get:
But copying it using the copy button:
I properly get just the expected text upon pasting.
Clipboard contents using the “copy” button are:
TEXT:
b'```sh\n\tsystemctl reboot\n\t```'
text/plain:
b'```sh\n\tsystemctl reboot\n\t```'
Clipboard contents by drag-selecting it on the page are:
TEXT:
b'\t```sh\n\tsystemctl reboot\n\t```'
text/html:
b'<span style="color: rgb(199, 199, 199); font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace; font-size: 17.008px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(60, 60, 60); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">\t```sh\n\tsystemctl reboot\n\t```</span>'
text/plain:
b'\t```sh\n\tsystemctl reboot\n\t```'
It’s probably that tab stop at the beginning of each line confusing things - perhaps if while parsing clipboard contents the first column is always empty we don’t treat it as a list.
This seems a bit of a pathological situation - is there a natural situation where it comes up? Normally there won’t be tab stop characters in posts.
To a computer it looks exactly like a tab-delimited table with a blank first column.

