Skip to content
Browse files

Merge pull request #123 from jfinkels/no-temp-files

fixed regression caused by ee20a61 which
  • Loading branch information...
2 parents ad322a4 + c92b899 commit b40484556a3e7c31de5cffe91bc5912bf38a7a7e @schacon schacon committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/showoff.rb
View
2 lib/showoff.rb
@@ -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)

0 comments on commit b404845

Please sign in to comment.
Something went wrong with that request. Please try again.