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

Handle whitespace in tables properly in ConfluenceSink

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8
    • 1.9
    • Module - Confluence
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: