You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2018/07/15 08:11:00 UTC

[jira] [Commented] (SLING-7780) Convert table header row to contain at least three hyphens

    [ https://issues.apache.org/jira/browse/SLING-7780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16544460#comment-16544460 ] 

Konrad Windszus commented on SLING-7780:
----------------------------------------

Fixed in https://github.com/apache/sling-site/commit/af669dd808e8f0d0a6904d444fef36e51adcb416.

> Convert table header row to contain at least three hyphens
> ----------------------------------------------------------
>
>                 Key: SLING-7780
>                 URL: https://issues.apache.org/jira/browse/SLING-7780
>             Project: Sling
>          Issue Type: Improvement
>          Components: Site
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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/
> {quote}
> There must be at least three hyphens in each column of the header row.
> {quote}
> 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.



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