Uploaded image for project: 'Maven Doxia'
  1. Maven Doxia
  2. DOXIA-577

Handle whitespace in tables properly in ConfluenceSink

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.9
    • Component/s: Module - Confluence
    • Labels:
      None

      Description

      Given an XDOC document as input, that has a table that is formatted with whitespace, like this:

                <table>
                  <tr><th>Heading 1</th><th>Heading 2</th><th>Heading 3</th></tr>
                  <tr>
                    <td>Cell 1:1</td>
                    <td>Cell 1:2</td>
                    <td>Cell 1:3 <code>true</code> or <code>false</code></td>
                  </tr>
                  <tr>
                    <td>Cell 2:1</td>
                    <td>Cell 2:2</td>
                    <td>Cell 2:3 <code>true</code> or <code>false</code></td>
                  </tr>
                  <tr>
                    <td>Cell 3:1</td>
                    <td>Cell 3:2</td>
                    <td>Cell 3:3</td>
                  </tr>
                </table>
      

      The Confluence document produced from ConfluenceSink will include all the whitespace, including line breaks, in the output. Since the Confluence syntax for tables relies on line breaks, each ignorable linebreak from the source will trigger a new table.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dennisl@apache.org Dennis Lundberg
                Reporter:
                dennisl@apache.org Dennis Lundberg
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: