What’s The Bug?
When unlinking any text in a block that contains inline LaTeX and text styles, the LaTeX loses its formatting (the $ signs disappear) and the text style shifts to the right.
How To Reproduce It
- Paste the following text into the editor:
$latex$ link color plain $latex$ $latex$ link color plain $latex$ $latex$ $latex$ link color plain - Apply any background color to the word
color. - Link each
linkword to any page. - Hover over the
linkword and choose “Unlink”. - All
$signs stripped, so the LaTeX formatting is removed. - The background color applied to
colorshifts to the next character(plain). The amount of shift is proportional to the number of removed$signs.
Image or Video
The Expected Behavior
- Inline LaTeX style must be preserved.
- Inline text styles must be preserved.
- The editor’s basic stability must be prioritized, ahead of auxiliary features such as chatting.
Device
MacBook Pro 2023
OS
Sequoia 15.7.2
Anytype Version
v0.51.2
Network Mode
AnySync
Technical Information
OS version: darwin arm64 15.7.2
App version: 0.51.2
Build number: build on 2025-11-26 12:55:21 +0000 UTC at #82ca0375a851dc42a3dd0c1e5fe7aca0cec09efe
Library version: v0.45.6
Anytype Identity: A9j5njAVXPc31H5FRAs6XzsNsQ6wkmruRQNF5zEXLpTaKKa6
Analytics ID: 30afe68f-0b97-41cb-824c-172bf491c4e0
Device ID: 12D3KooWRqzkK63uTAfqHFzgHxh2cnV8HR4r2w8MB1ttkyKvTose
Ethereum Address: 0xC64cB08CECbC819D964C0babF6535179C117f373