Skip to content

Commit

Permalink
Merge pull request binford2k#123 from jfinkels/no-temp-files
Browse files Browse the repository at this point in the history
fixed regression caused by ee20a61 which
  • Loading branch information
schacon committed Sep 12, 2011
2 parents ad322a4 + c92b899 commit b404845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/showoff.rb
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def get_slides_html(static=false, pdf=false)
files = []
files << load_section_files(section)
files = files.flatten
files = files.select { |f| f =~ /.md/ }
files = files.select { |f| f =~ /.md$/ }
files.each do |f|
fname = f.gsub(options.pres_dir + '/', '').gsub('.md', '')
data << process_markdown(fname, File.read(f), static, pdf)
Expand Down

0 comments on commit b404845

Please sign in to comment.