Mathjax: Aligned and square brackets

Steps to reproduce

This is the following piece of problematic latex source:

$$
\begin{aligned}
	[x]^{**}
\end{aligned}
$$

Expected result

I expect this result.

Actual result

Environment

  • Operating system: Mac OS Big Sir
  • Debug info:
SYSTEM INFO:
	Obsidian version: v0.15.6
	Installer version: v0.12.19
	Operating system: Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:20 PDT 2021; root:xnu-7195.141.6~3/RELEASE_ARM64_T8101 20.6.0
	Login status: not logged in
	Insider build toggle: off
	Live preview: off
	Legacy editor: off
	Base theme: light
	Community theme: none
	Snippets enabled: 0
	Safe mode: on

RECOMMENDATIONS:
	none


Additional information

Instead of aligned, align environment works fine, and so are the inline math mode, it’s only broken for latex environment aligned inside of block math mode.

that’s not valid latex.

It works on vs code and in Latexmk. Do you want evidence to convince you?

Actually don’t worry about it it’s mathjax’s problem.

ok, can you please open a bug report to mathjax and copy the link here?