I am compiling the following latex file:
\documentclass{article}
\usepackage[british]{babel}
\begin{document}
\begin{equation}
\begin{array}{|r|rrrr|}
\hline
& x_1 & x_2 & x_3 & x_4 \\
\hline
4 & 0 & -3 & 2 & 0 \\
\hline
x_1 = 2 & 1 & -1 & 1 & 0 \\
\hline
x_4 = 4 & 0 & 2^{*} & -1 & 1\\
\hline
\end{array}
\end{equation}
\end{document}
which, via pdflatex, results in:
Compiling the above via TeXlive 2022's
make4ht markup.tex 'mathml,mathjax'
results in a rather strange-looking table:
(rendered via CHTML, rendering via SVG produces a different but also wrong output)
Is there a particular reason why the output looks like this?
P.S. The problem does not occur when using 'mathjax' option as MathJax processes the array correctly. Unfortunately, I cannot switch to mathjax-only due to technical reasons.