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

Sections/Columns inside excerpt don't work properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Medium Medium
    • None
    • 2.5.7
    • None
    • Standalone Confluence 2.5.7 running on Centos Linux 4.5. Users are using Firefox 2

      A page of tables inside sections looks perfectly fine on the original page:

      {excerpt} {section}
      {column:width=33%}

      h5. Meeting 39, September 26

      Theme: Celebrities
      || Toastmaster | person 1||
      || Grammarian / Um-ahh | person 2 ||
      || Timer | person 3 ||
      ...
      {section}{excerpt}

      renders to:

      <table class="sectionMacro" border="0" cellpadding="5" cellspacing="0" width="100%"><tbody><tr>

      <td class="confluenceTd" valign="top" width="33%">

      <h5><a name="FutureRosters-Meeting39%2CSeptember26"></a>Meeting 39, September 26</h5>

      <p>Theme: <b>Celebrities</b> </p>

      <table class='confluenceTable'><tbody>
      <tr>
      <th class='confluenceTh'> Toastmaster </th>
      <td class='confluenceTd'> person 1</td>
      </tr>
      <tr>
      <th class='confluenceTh'> Grammarian / Um-ahh </th>
      <td class='confluenceTd'> person 2</td>
      </tr>

      <tr>
      <th class='confluenceTh'> Timer </th>
      <td class='confluenceTd'> person 3 </td>
      </tr>
      ...
      But when it is included on another page it get rendered all wrong:

      {excerpt-include:Future Rosters}

      renders to:

      <div class="panel"><div class="panelHeader"><b>Future Rosters</b></div><div class="panelContent">
      <table class='confluenceTable'><tbody>
      <tr>
      <td class='confluenceTd'><h5><a name="Test-Meeting39%2CSeptember26"></a>Meeting 39, September 26</h5>
      <p>Theme: <b>Celebrities</b> </p></td>

      <th class='confluenceTh'> Toastmaster </th>
      <td class='confluenceTd'> person 1</td>
      </tr>
      <tr>
      <th class='confluenceTh'> Grammarian / Um-ahh </th>
      <td class='confluenceTd'> person 2 </td>
      </tr>
      <tr>
      <th class='confluenceTh'> Timer </th>

      <td class='confluenceTd'>person 3</td>
      </tr>
      ....

      The section information seems to have been removed and note the first row somehow takes in two rows from the original table

            Unassigned Unassigned
            edf545456116 Stuart Gilberd
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: