Inline LaTeX breaks when placed in a checkbox that is then checked

What’s The Bug?

If the user creates a checkbox, then types something in LaTeX, the formatting is removed when the box is checked. The formatting also does not reappear when the box is unchecked, however this can be undoed.

How To Reproduce It

  1. Create a Checkbox item using the command or
  2. Type something in LaTeX, like $\LaTeX$
  3. Check the box.

Image or Video

The Expected Behavior

Checking and unchecking the item should not affect the LaTeX.

Additional Context

Interestingly, this also occurs when a checked item with LaTeX is unchecked.

Device

Microsoft Surface Laptop Studio

OS

Windows 11 24H2

Anytype Version

v0.44.0

Network Mode

Anysync

Technical Information

OS version: win32 x64 10.0.26100
App version: 0.44.0
Build number: build on 2024-12-16 16:53:50 +0000 UTC at #c04d64d52304c0fe8800032e74e49a7159abdbad (dirty)
Library version: v0.38.7
Anytype Identity: A9dHVmBuSdEVZKWqXhMpb6YXv7HZhEsXgcRFvUjoshDj3Rox
Analytics ID: A7zjoHfSTCPeKoVvb1qMd4HtuVaQbnFniQprRr9FscEWva8h
Device ID: 12D3KooWBUsTXJavSUTUe9aPLacQEQyWWiwfh72TEfV7LdpSNwkm

This report has been added to our issue tracker and received by the Development Team.

This issue has been fixed by the Development Team and will be implemented in an upcoming release.