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

Missing <thead> table element when exporting page to HTML

    XMLWordPrintable

Details

    Description

      Symptoms

      • When inserting a table within a Confluence page, the <thead> element, which is supposed to be used to group table heading elements, does not exist neither in Edit mode view, nor when exporting the page to HTML.

      Steps to Reproduce

      1. Insert a table within a Confluence page.
      2. Use Heading row function found in Editor toolbar to make heading cells.
      3. Save the page.
      4. Export page to HTML. Or:
      5. Enable the Inspector tool from your browser.
      6. Look for the <thead> element when page is in Edit mode view.

      Expected Results

      • <thead> element should be associated with the table on HTML code.

      Actual Results

      • <thead> table element is only found when page is not in Edit mode view (screen shot attached).
      • <thead> element does not exist in exported HTML (index2.html) or when in Edit mode view (screen shot attached). This causes trouble when a table is split over more than one pages, hence the table header does not appear on the subsequent pages when exporting to HTML.

      Workaround

      • For HTML Export situation, you ca manually insert <thead> element directly in the HTML code.

      Attachments

        1. index2.html
          2 kB
        2. thead_found.png
          thead_found.png
          94 kB
        3. thead_not_found.png
          thead_not_found.png
          77 kB

        Activity

          People

            Unassigned Unassigned
            enunes Eduardo Nunes (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: