Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
schacon committed Sep 12, 2011
2 parents f004aa3 + b404845 commit 3f10cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/showoff.rb
Expand Up @@ -277,7 +277,7 @@ def get_slides_html(static=false, pdf=false)
files = [] files = []
files << load_section_files(section) files << load_section_files(section)
files = files.flatten files = files.flatten
files = files.select { |f| f =~ /.md/ } files = files.select { |f| f =~ /.md$/ }
files.each do |f| files.each do |f|
fname = f.gsub(options.pres_dir + '/', '').gsub('.md', '') fname = f.gsub(options.pres_dir + '/', '').gsub('.md', '')
data << process_markdown(fname, File.read(f), static, pdf) data << process_markdown(fname, File.read(f), static, pdf)
Expand Down

0 comments on commit 3f10cb7

Please sign in to comment.