xmlns="http://www.w3.org/1999/xhtml"
-_-_-
The \trap:base is to catch empty bases of exponents like, e.g., in $a^{^b}$.
\def\MathRow#1{%
\Configure{\expandafter\:gobble\string#1*}{*}%
{<ṁrow\Hnewline
class="\expandafter\:gobble\string#1">}{</ṁrow>}%
{\Configure{\expandafter\:gobble\string#1}{}{}{}{}}#1}%
-_-_-
\edef\sv:ignore{\if:nopar
\noexpand\IgnorePar\else \noexpand\ShowPar\fi}%
-_-_-
The \MathRow requests a <|.mrow\Hnewline>...</|.mrow>, instead of the
contributions of \mathop, \mathrel,...., for the next parameter.