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

Treat images that are alone in a paragraph and have a label as captioned figure

    XMLWordPrintable

Details

    • Unit, Integration
    • Unknown
    • Pull Request accepted

    Description

      Currently, we support labels in the XWiki 2.0 and 2.1 figure syntax, but they are not used during parsing. As discussed in the forum, this syntax should be interpreted as a figure with a caption using the existing FigureBlock and FigureCaptionBlock as XDOM representation. As figures are block content, this will only be done if an image is alone in a paragraph, in which case the paragraph is converted to a FigureBlock in the parser.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: