Remark: The examples in this post are not the real cases, the real one is a web page using MathJax. It seems MathJax has some restrictions about the packages that can be used. In particular, mathtools seems to not be supported.
The following document fails with errors "Missing }"
\documentclass{article}
\usepackage[x11names, rgb]{xcolor}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\begin{document}
\begin{align}
\boxed{ 2x+y & = 11 } \\
3x & = 19 - 2y
\end{align}
\end{document}
The problem seems to be the usage of \boxed (if it is removed, the error disappears) inside an align block.
Any solution of this issue or other way to enclose an equation or some terms of an equation when using align blocks?
Note the following doesn't causes any error:
\begin{align}
\boxed{ 2x+y } & = 11 \\
3x & = 19 - 2y
\end{align}


\boxedhides the&from the parser. Try the similar command\Aboxedfrom themathtoolspackage – daleif Jan 01 '17 at 17:27amsmath: the developers of MathJax have implemented some of the features ofamsmath, but not all of them. – egreg Jan 01 '17 at 22:43