[LyX/master] KOMA Book: fix HTML validation issues.

Thibaut Cuvelier tcuvelier at lyx.org
Tue Jan 10 22:23:00 UTC 2023


commit 65a9a2ac11be413273b3b0e0c4b8382a52b568a8
Author: Thibaut Cuvelier <tcuvelier at lyx.org>
Date:   Wed Jan 11 00:21:23 2023 +0100

    KOMA Book: fix HTML validation issues.
    
    Some elements had a <h1> title, while only one such title is expected per page.
---
 lib/layouts/scrbook.layout |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/lib/layouts/scrbook.layout b/lib/layouts/scrbook.layout
index dcdc2bb..7058838 100644
--- a/lib/layouts/scrbook.layout
+++ b/lib/layouts/scrbook.layout
@@ -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


More information about the lyx-cvs mailing list