Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-4520

Not possible to generate inline content from wiki macros when the macro body starts with another macro

    XMLWordPrintable

    Details

    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      If a wiki macro begins with another nested macro like below:

      {{velocity}}
      .....
      {{/velocity}} 
      

      It's not possible for this wiki macro to behave in inline mode. The reason is that the nested macro always generates a paragraph element because as far as it knows, it is being executed as a block macro.

      Refer http://n2.nabble.com/Problems-with-producing-inline-content-from-wiki-macros-td3871107.html#a3871107 for more information about this bug.

        Attachments

          Activity

            People

            Assignee:
            asiri Asiri Rathnayake
            Reporter:
            asiri Asiri Rathnayake
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: