mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Don’t output markdown headers when generating HTML
This commit is contained in:
committed by
Allan Odgaard
parent
9b00db3139
commit
a1a73e8593
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user