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

Unable to Display Content of Information Macro Inside a User Macro

    XMLWordPrintable

Details

    Description

      When an Information macro is placed inside (a very simple) user macro, the content/text inside Information macro is not displayed.

      Steps to replicate

      1. Create a user macro, name it 'hinting' (see screenshot 1UserMacro.JPG)
      2. Create a page and insert an Info Macro with text inside the user macro, insert additional Info macro for comparison (see screenshot 2CreatePage.JPG)
      3. Save the page and see the difference (see screenshot 3SavePage.JPG)

      Observation
      (With Chrome Developer Tools) we can see the differences of HTML rendering:

      HTML render of info panel
      <div class="confluence-information-macro confluence-information-macro-information">
          
                  <span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span>
          
          <div class="confluence-information-macro-body"><p>BLA BLA BLA</p></div>    </div>
      
      HTML render of info panel throws hinting macro
      <div class="confluence-information-macro confluence-information-macro-information">
          
                  <span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon">
          
          <div class="confluence-information-macro-body"><p>BLA BLA BLA</p></div>    </span></div>
      

      The problem is span box of panel icon is not closed at the right place.

      Attachments

        1. 1UserMacro.JPG
          74 kB
          Patrice Rompas
        2. 2CreatePage.JPG
          78 kB
          Patrice Rompas
        3. 3SavePage.JPG
          89 kB
          Patrice Rompas

        Issue Links

          Activity

            People

              Unassigned Unassigned
              prompas Patrice Rompas (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: