From: Petter Reinholdtsen Date: Fri, 2 Feb 2018 05:30:19 +0000 (+0000) Subject: Correct header level for dedication and colophon. X-Git-Tag: es-printed~513 X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/commitdiff_plain/2d5e52ac1ff23e3971f8ecc48bfd2915b69f15a6?hp=d9532a0a236ce93f3e5116516874677843c55200 Correct header level for dedication and colophon. --- diff --git a/fixup.rb b/fixup.rb index ba204c2..cffbab3 100644 --- a/fixup.rb +++ b/fixup.rb @@ -182,10 +182,10 @@ data.delete("# Part 1") data.delete("# Part 2") log 0, 'add heading to colophon page' -data.insert(data.index('Made With Creative Commons'), '## Colophon {-}') +data.insert(data.index('Made With Creative Commons'), '# Colophon {-}') log 0, 'add dedication as separeate chapter' -data.insert(data.index('“I don’t know a whole lot about nonfiction journalism. . .'), '## Dedication {-}') +data.insert(data.index('“I don’t know a whole lot about nonfiction journalism. . .'), '# Dedication {-}') # Join erroneously split paragraphs: Write the contents of the line # _preceding_ the unneeded break, the break will be removed.