Inline Latex not applied in Table of Contents

What’s The Bug?

When a heading or subheading contains inline latex formula, the table of contents shows the raw latex code

How To Reproduce It

  1. Create a heading with text “$Q$-Value”
  2. Generate table of contents

Image or Video

The Expected Behavior

The rendered formular to be shown

Device

Mac Mini Studio

OS

MacOS 15.0 Beta

Anytype Version

0.42.8

Network Mode

AnySync

Technical Information

OS version: darwin arm64 15.0.0
App version: 0.42.8
Build number: build on 2024-09-06 10:41:02 +0000 UTC at #c583602e975eaf2e525ef7f22e4700f8825a6420 (dirty)
Library version: v0.35.7
Anytype Identity: A9iU6GWxy4rReAVzb7DfYv14CZJm6hGKUiEnLALrAQh6EJx4
Analytics ID: 761234f5-fb05-434f-bb22-8b734d014d80
Device ID: 12D3KooWMQH7odi7vARqEhVdMG2BKqW59ZpAMFxL4cNCzSSN3M4K

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.