]> pere.pagekite.me Git - text-madewithcc.git/commitdiff
Correct header level for dedication and colophon.
authorPetter Reinholdtsen <pere@hungry.com>
Fri, 2 Feb 2018 05:30:19 +0000 (05:30 +0000)
committerPetter Reinholdtsen <pere@hungry.com>
Thu, 22 Feb 2018 18:12:09 +0000 (18:12 +0000)
fixup.rb

index ba204c28abd07db72869fce4190b61972c685fd8..cffbab3b0d1899715dff26dd961ca9c55f46cba1 100644 (file)
--- 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.