Italic in table breaks the table

Steps to reproduce

Copy this table into an empty note:

From To What
14:00 14:30 Felix on SST replatforming
14:30 15:00 Felix on AI working group

Highlight the times (four cells), press CTRL+i for italic. Now the table is no longer editable and seems to be buggy.

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

Y

Expected result

I expect the table to be editable

Actual result

The table isn’t editable…

Environment

SYSTEM INFO:
Obsidian version: v1.5.11
Installer version: v1.4.16
Operating system: Windows 10 Enterprise 10.0.19045
Login status: logged in
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: Things v2.1.20
Snippets enabled: 0
Restricted mode: off
Plugins installed: 9
Plugins enabled: 7
1: Calendar v1.5.10
2: Periodic Notes v0.0.17
3: QuickAdd v1.6.1
4: Templater v2.2.1
5: Super Simple Time Tracker v0.1.8
6: Tasks v6.0.0
7: Find orphaned files and broken links v1.9.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

I can reproduce this on Obsidian 1.5.11 (Fedora Linux, official appimage of 1.5.11)

1 Like

thanks

I met the same bug.
hightlight and bold can also trigger this bug.
err msg as follow:
Uncaught RangeError: Invalid count value: -5
at String.repeat ()
at t.getTableString (app.js:1:1309991)
at t.rebuildTable (app.js:1:1310491)
at t.dispatchTable (app.js:1:1310738)
at t.setCellFocus (app.js:1:1316968)
at l (app.js:1:1305886)
at p (app.js:1:1306126) Italic in table breaks the table