Skip to content

Commit

Permalink
Merge pull request #35 from jlecour/patch-1
Browse files Browse the repository at this point in the history
Add an html extension to the temp file
  • Loading branch information
ianks committed Jan 15, 2015
2 parents 1aa5f89 + e3dee29 commit c5b8303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/octodown/support/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module Helpers
# TODO: Find a better home for this logic
def self.markdown_to_html(content, options, path)
html = markdown_to_raw_html(content, options, path)
tmp = Octodown::Support::HTMLFile.new 'octodown'
tmp = Octodown::Support::HTMLFile.new ['octodown', '.html']
tmp.persistent_write html
end

Expand Down

0 comments on commit c5b8303

Please sign in to comment.