X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/blobdiff_plain/7f8cc06917b905c3a633aab1ea43b984076912a0..ba91ccf09df27f88c7c4b7df5e9eda366e0c6b48:/fixup.rb diff --git a/fixup.rb b/fixup.rb index bd08349..f22de0b 100644 --- a/fixup.rb +++ b/fixup.rb @@ -232,25 +232,6 @@ log 0, 'Join erroneously split paragraphs' end end -log 0, 'Mark quote in dedication as quote with attribute in markdown' -start = "“I don’t know a whole lot about nonfiction journalism. . ." -stop = "- David Foster Wallace" -quote=false -data.each_with_index do |lin, idx| - if lin == stop - lin.sub!(/^- /, "> — ") - lin.sub!("David Foster Wallace", "*David Foster Wallace*") - quote=false - break - end - if lin == start - quote=true - end - if quote - lin.sub!(/^/, "> ") - end -end - log 0, 'Identify and mark footnotes/endnodes' scope="unknown" noteblock=false