Uploaded image for project: 'Confluence'
  1. Confluence
  2. CONFLUENCE-540

Broken MathJax Code Block Migration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 9.96.3
    • 9.95.1
    • Syntax - XHTML
    • None
    • Unknown

    Description

      When importing a Confluence XML export, LaTeX math blocks are only migrated correctly if the macro body already starts with

      \begin{align}

      and ends with

      \end{align} 

      Every other LaTeX block which is wrapped in

      \begin{aligned} .... \end{aligned}

      fails on render. The XWiki MathJax extension displays a yellow box containing the raw macro content instead of
      the formula.

      A broken migration looks like this:

      \begin{aligned}
      a &= b + c \\
      d &= e + f
      \end\{aligned}
      

      A working migration looks like this:

      \begin{align}
      a &= b + c \\
      d &= e + f
      \end{align}
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            admin@ohrner-it admin@ohrner-it
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: