Problem appears to be associated with the stored HTML for the table containing MathJax commands rather than the Latex to be rendered.