Editor: Code block nested in a list - click to copy should include tabulation

Steps to reproduce

in a list, create a code block with indentation. click copy button in live preview mode, the tab character is copied.
in read mode, it is not.

Did you follow the troubleshooting guide? [Y/N]

Y

Expected result

copy works normally in both mode

Actual result

Environment

SYSTEM INFO:
Obsidian version: v1.9.14
Installer version: v1.9.14
Operating system: Windows 11 Pro for Workstations 10.0.26200
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: AnuPpuccin v1.5.0
Snippets enabled: 3
Restricted mode: off
Plugins installed: 12
Plugins enabled: 11
1: Excalidraw v2.15.3
2: Style Settings v1.0.9
3: Editing Toolbar v3.1.18
4: Remember cursor position v1.0.9
5: Quick Explorer v0.2.14
6: Latex Suite v1.9.8
7: Trash Explorer v1.2.3
8: Font Size Adjuster v0.1.4
9: Quick Switcher++ v5.3.0
10: Edge TTS v3.4.2
11: Tab Group Arrangement v1.0.1

RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.


Additional information

thanks

more generally