Permalink
Browse files

Merge remote-tracking branch 'origin/master'

  • Loading branch information...
schacon committed Sep 12, 2011
2 parents f004aa3 + b404845 commit 3f10cb741bb4ac0690141833941b43e2017b7f08
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/showoff.rb
View
@@ -277,7 +277,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 3f10cb7

Please sign in to comment.