From 65a9a2ac11be413273b3b0e0c4b8382a52b568a8 Mon Sep 17 00:00:00 2001 From: Thibaut Cuvelier Date: Wed, 11 Jan 2023 00:21:23 +0100 Subject: [PATCH] KOMA Book: fix HTML validation issues. Some elements had a

title, while only one such title is expected per page. --- lib/layouts/scrbook.layout | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/layouts/scrbook.layout b/lib/layouts/scrbook.layout index dcdc2bbf13..7058838275 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 -- 2.39.5