Copy and paste from DuckDB no longer formats correctly

Steps to reproduce

Install DuckDB

In a terminal

$ duckdb
D create table foo (id INTEGER, name VARCHAR);
D desc foo;
┌─────────────┬─────────────┬─────────┬─────────┬─────────┬─────────┐
│ column_name │ column_type │  null   │   key   │ default │  extra  │
│   varchar   │   varchar   │ varchar │ varchar │ varchar │ varchar │
├─────────────┼─────────────┼─────────┼─────────┼─────────┼─────────┤
│ id          │ INTEGER     │ YES     │         │         │         │
│ name        │ VARCHAR     │ YES     │         │         │         │
└─────────────┴─────────────┴─────────┴─────────┴─────────┴─────────┘

Copy the result table from DuckDB and paste it into Obsidian.

Expected result

Prior to the most recent update, the table would be correctly formatted.

Actual result

See screenshot.

Restarted Obsidian, picked up version 1.7.7 apparently, things look ok again

image

Environment

SYSTEM INFO:
	Obsidian version: v1.7.7
	Installer version: v1.5.12
	Operating system: Darwin Kernel Version 23.6.0: Wed Jul 31 20:50:54 PDT 2024; root:xnu-10063.141.1.700.5~1/RELEASE_ARM64_T8122 23.6.0
	Login status: not logged in
	Language: en
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 1
	Plugins enabled: 1
		1: Obsidian Git v2.19.1

You may want to consider downloading and reinstalling Obsidian fresh. There are a few installer versions that introduce changes (CodeMirror and security updates) that can’t always be auto-updated.