You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@apache.org> on 2018/11/22 11:46:00 UTC

[jira] [Created] (DOXIA-577) Handle whitespace in tables properly in ConfluenceSink

Dennis Lundberg created DOXIA-577:
-------------------------------------

             Summary: Handle whitespace in tables properly in ConfluenceSink
                 Key: DOXIA-577
                 URL: https://issues.apache.org/jira/browse/DOXIA-577
             Project: Maven Doxia
          Issue Type: Bug
          Components: Module - Confluence
    Affects Versions: 1.8
            Reporter: Dennis Lundberg
            Assignee: Dennis Lundberg


Given an XDOC document as input, that has a table that is formatted with whitespace, like this:
{code}
          <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>
{code}

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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)