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

confluence parser: support for ac:structured-macro

    Details

    • Tests:
      Unit
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Pull Request Status:
      Awaiting Committer feedback
    • Similar issues:

      Description

      See: https://confluence.atlassian.com/display/DOC/Confluence+Storage+Format+for+Macros

      At least in version 5.3 confluence macros also use ac:structured-macro instead of ac:macro and ac:rich-text-body aside of ac:plain-text-body for the content.
      The difference between ac:rich-text-body and ac:plain-text-body is that ac:rich-text-body can contain inline-formatting. (PlainTextBodyTagHandler can be used to handle both cases.)
      No idea about the difference between ac:macro and ac:structured-macro, however - to me in both cases a MacroTagHandler seems to work pretty well.

        Attachments

          Activity

            People

            • Assignee:
              camil7 Clemens Robbenhaar
              Reporter:
              camil7 Clemens Robbenhaar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: