From a1a73e8593e64df3cb970ab16b25c636b5957934 Mon Sep 17 00:00:00 2001 From: Brad Choate Date: Sat, 6 Oct 2012 23:45:07 -0700 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20output=20markdown=20headers=20w?= =?UTF-8?q?hen=20generating=20HTML?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/gen_html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/gen_html b/bin/gen_html index d863d793..8b1f1642 100755 --- a/bin/gen_html +++ b/bin/gen_html @@ -97,5 +97,5 @@ js_files = headers['js'].to_s.split(/,\s*/) meta_data = Hash[*headers['meta'].to_s.scan(/(.*?)="(.*?)"(?:,\s*)?/).flatten] STDOUT << expand_tpl(header, binding) unless header.nil? -STDOUT << open(filters, 'r+') { |io| io << document; io.close_write; wrap_in_article(io.read) } +STDOUT << open(filters, 'r+') { |io| io << body; io.close_write; wrap_in_article(io.read) } STDOUT << expand_tpl(footer, binding) unless footer.nil?