Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-7780

Convert table header row to contain at least three hyphens

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Site
    • None

    Description

      Right now our MD table headers sometimes consist out of single hyphens within a table column. That is not compliant with most of the table MD extensions. E.g. Github explicitly states in https://help.github.com/articles/organizing-information-with-tables/

      There must be at least three hyphens in each column of the header row.

      Also most of the parsers only detect table headers correctly if they consist of at least three hyphens. This is also the case for the flexmark parser being used in newer JBake versions (https://issues.apache.org/jira/browse/SLING-7776?focusedCommentId=16542694&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16542694).

      So all those invalid header rows should be converted to valid ones.

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m