]> git.lyx.org Git - features.git/commitdiff
KOMA Book: fix HTML validation issues.
authorThibaut Cuvelier <tcuvelier@lyx.org>
Tue, 10 Jan 2023 23:21:23 +0000 (00:21 +0100)
committerThibaut Cuvelier <tcuvelier@lyx.org>
Tue, 10 Jan 2023 23:21:23 +0000 (00:21 +0100)
Some elements had a <h1> title, while only one such title is expected per page.

lib/layouts/scrbook.layout

index dcdc2bbf133c2f850bf5f92531e85abdb5f3a167..7058838275f4e5976cf6c8b37ad7a71ee41b2ba4 100644 (file)
@@ -18,6 +18,7 @@ NoStyle Abstract
 Style Chapter
        LabelString     "\thechapter"
        TocLevel 0
+       HTMLTag               h2
        DocBookTag            title
        DocBookTagType        paragraph
        DocBookSectionTag     chapter
@@ -36,8 +37,9 @@ Style Bibliography
        TopSep          4
        LabelString     "Bibliography"
        LabelFont
-         Series        Bold
-         Size          Largest
+         Series            Bold
+         Size              Largest
        EndFont
        TocLevel        0
+       HTMLTag         h2
 End