        let result =
                    `<h3 class="${titleClass}">${x.title}</h3>` +
                    `<p><code>${escapeHtml(x.latex)}</code></p>` +
                    `<p class="formula"><script type="math/tex;mode=display">${x.latex}</` +
                    'script></p>' +
                    `<p class="comment">${comment}</p>`;

                  error = [];
                  //
                  // Parse and report any errors
                  //
                  if (true) {
                    