Uploaded image for project: 'Confluence'
  1. Confluence
  2. CONFLUENCE-175

Missing a tab cell at the end of a content body

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 9.32.0
    • 9.31.3
    • XML
    • None
    • Unknown

    Description

      We have one test case that contains a document with this content:

      <property name="body"><![CDATA[h4. Project: Test demo
      
      h4. Developer: dev1
      
      h4. Tasks Completed or Worked On:
      
      || JIRA Link || Status || Summary || Remarks ||
       | [TICKET-1|http://www.aspose.com] | Open |  test ticket 1 |  | 
      
      h4. Developer: dev2
      
      h4. Tasks Completed or Worked On:
      
      || JIRA Link || Status || Summary || Remarks ||
       | [TICKET-2|http://www.aspose.com] | Open |  test ticket 2 |  | 
      
      h4. Next Week Tasks:
      
      || JIRA Link || Status || Summary || Remarks ||
       | [TICKET-3|http://www.aspose.com] | Open |  test ticket 3 |  | ]]></property>
      

      This produces the following XWiki code:

      ==== Project: Test demo ====
      
      ==== Developer: dev1 ====
      
      ==== Tasks Completed or Worked On: ====
      
      |= JIRA Link |= Status |= Summary |= Remarks |=
       | [[TICKET-1>>http://www.aspose.com]] | Open |  test ticket 1 |  | 
      
      ==== Developer: dev2 ====
      
      ==== Tasks Completed or Worked On: ====
      
      |= JIRA Link |= Status |= Summary |= Remarks |=
       | [[TICKET-2>>http://www.aspose.com]] | Open |  test ticket 2 |  | 
      
      ==== Next Week Tasks: ====
      
      |= JIRA Link |= Status |= Summary |= Remarks |=
       | [[TICKET-3>>http://www.aspose.com]] | Open |  test ticket 3 |  
      

      The following is the expected result for the last line:

       | [[TICKET-3>>http://www.aspose.com]] | Open |  test ticket 3 |  | 
      

      (notice the additional pipe character at the end)

      This is because Apache configurations trim whitespace characters from values by default. This needs to be disabled.

      Attachments

        Activity

          People

            rjakse Raphaël Jakse
            rjakse Raphaël Jakse
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: