Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-650

FigureTypeRecognizer doesn't recognize tables anymore

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 14.1
    • 14.1-rc-1
    • Macro - Figure
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      Due to XRENDERING-629, the figure type recognizer doesn't recognize figures with a table anymore. The problem is basically that while the code correctly ignores metadata blocks, it adds all children of them without ignoring macro marker and figure caption blocks. Unfortunately, the existing tests are not catching this regression as they are testing with very specific block structures that do not reflect the actual block structure produced by the renderer anymore. This is not immediately visible in XWiki itself but breaks the table rendering of the LaTeX syntax.

      Attachments

        Activity

          People

            MichaelHamann Michael Hamann
            MichaelHamann Michael Hamann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: