From b1af37b57a105d56317773d1d655485a61744d93 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Thu, 15 Jun 2017 18:32:47 -0400 Subject: [PATCH] Add an "index" class to the multipage index.html Helps with #27. --- dom | 1 + src/wattsi.pas | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 160000 dom diff --git a/dom b/dom new file mode 160000 index 0000000..e728c11 --- /dev/null +++ b/dom @@ -0,0 +1 @@ +Subproject commit e728c11c4aeab35573f0d77270066202f8739475 diff --git a/src/wattsi.pas b/src/wattsi.pas index bef0bc8..7553715 100644 --- a/src/wattsi.pas +++ b/src/wattsi.pas @@ -1938,7 +1938,7 @@ function Split(const Document: TDocument; var BigTOC: TElement; const Base: Ansi end; // save table of contents section SectionDoc := Document.CloneNode(True); - SectionDoc.DocumentElement.SetAttribute('class', 'split'); + SectionDoc.DocumentElement.SetAttribute('class', 'split index'); Save(SectionDoc, Base + kIndexFilename); SectionDoc.Free(); BigTOC.Remove();