From 859acea0b5726f9b1b57856fd2e023e2180130be Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Fri, 23 Sep 2016 21:41:55 +0200 Subject: Put only one heading element in top-level header Every heading element semantically creates a new section. Three consecutive heading elements, e.g. `

`, `

`, `

`, are semantically equivallent to a section with two nested subsections. This is not the intended meaning of subtitle, author, and date, making plain `

` elements the better choice. This is one of the W3C's [common idioms]. This change is the result of discussions on issue jgm/pandoc#3119. [common idioms]: https://www.w3.org/TR/html5/common-idioms.html#common-idioms Fixes: jgm/pandoc#3119 --- default.html5 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/default.html5 b/default.html5 index 6b1fdb38b..5641ecb80 100644 --- a/default.html5 +++ b/default.html5 @@ -44,13 +44,13 @@ $if(title)$

$title$

$if(subtitle)$ -

$subtitle$

+

$subtitle$

$endif$ $for(author)$ -

$author$

+

$author$

$endfor$ $if(date)$ -

$date$

+

$date$

$endif$
$endif$ -- cgit v1.2.3