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

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    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

        1. Screenshot 2019-09-09 at 18.13.50.png
          117 kB
          Vincent Massol
        2. Test.WebHome.xar
          11 kB
          Vincent Massol

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: