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

This macro does not render correctly if embedded inside of another user macro.

    XMLWordPrintable

Details

    Description

      This macro does not render correctly if embedded inside of another user macro. To re-create the problem simply create a new user macro with no params, "rendered" body, and the following template:

        1. @noparams
          $!body

      it looks like the rendering engine gets confused by a span tag

      it converts from:

      <div class="aui-message success shadowed information-macro">
      <span class="aui-icon icon-success"></span>
      <div class="message-content">
      <p>How does a tip work?</p>
      </div>
      </div>
      into

      <div class="aui-message success shadowed information-macro">
      <span class="aui-icon icon-success">
      <div class="message-content">
      <p>How does a tip work?</p></p>
      </div>
      </span></div>

      Attachments

        Activity

          People

            Unassigned Unassigned
            546678749b53 Krzysztof Rogala
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: