tyle from text mode)',
            latex: `\\text{Hello world $x$}`,
          },
          {
            title: '&dollar;&dollar; inside <kbd>\\text</kbd>',
            class: 'fail',
            comment:
              '<kbd>x</kbd> is upright (can‚Äôt switch to displaystyle from text mode) (we currently allow it)',
            latex: `\\text{Hello world $$x$$}`,
          },
          {
            title:
              '&dollar; inside <kbd>\\text</kbd> inside <kbd>\\&#91;</kbd>...<kbd>\\&#93;</kbd>',