Underscore before $...$ makes the equation rendering in preview mode malfunction

Once you’ve done the above, delete everything above this line.

Steps to reproduce

x_i ah $p_{data}$

type in the above line and turn on preview mode

Expected result

“data” should appear as the subscripts following p (latex mode)

Actual result

xi ha $p{data}$

Environment

SYSTEM INFO:
Obsidian version: v1.3.2
Installer version: v1.2.8
Operating system: Darwin Kernel Version 22.2.0: Fri Nov 11 02:03:51 PST 2022; root:xnu-8792.61.2~4/RELEASE_ARM64_T6000 22.2.0
Login status: logged in
Catalyst license: supporter
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

thanks

Thank you!