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

FigureTypeRecognizer fails to recognize a table type when used in the context of a wiki macro

    Details

    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Example usage:

      {{kido id="FF" title="Table caption"}}
      |= Headcell1 |= Headcell2
      | cell1 | cell2
      {{/kido}}
      

      And the wiki macro:

      {{groovy}}
      String id = xcontext.macro.params.id
      String title = xcontext.macro.params.title
      return """{{figure}}
      {{figureCaption}}
      {{id name="${id}"/}}${title}
      {{/figureCaption}}
      
      {{wikimacrocontent/}}
      {{/figure}}"""
      {{/groovy}}
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vmassol Vincent Massol
                Reporter:
                vmassol Vincent Massol
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: