Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-39300

JIRA Issues macro does not render correctly in user macro body

    XMLWordPrintable

Details

    Description

      Hi Atlassian,
      we are experiencing a problem for quite a while now that we have not been able to fix. We run Confluence 5.6.6 and user macros. We noticed that in some macro bodies the JIRA issues macro does not render correctly.

      Example:
      This is a simple user macro creating a Conflunce panel.

      ## Macro title: Panel2
      ## Macro has a body: Y
      ## Body processing: Rendered
      ##
      ## noparams
      
      <div class="panel">
         <div class="panelHeader">
            <b>Macro Panel</b>
         </div>
         <div class="panelContent">
            <p>$body</p>
         </div>
      </div>

      When we use that macro on a page it works ok in general. But when placing a JIRA issues macro inside of it, the JIRA issues macro does not render correctly. The Refresh link at the bottom produces and error because the "<textarea id="refresh-wiki-..." tag is not rendered correctly. (Not closed where it should be).

      See screenshots.

      Attachments

        1. jira-issues-macro-01.jpg
          jira-issues-macro-01.jpg
          23 kB
        2. jira-issues-macro-02.jpg
          jira-issues-macro-02.jpg
          9 kB
        3. jira-issues-macro-03.jpg
          jira-issues-macro-03.jpg
          19 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              7c582e0cb0ec George Lewe (LSY)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: