Don't concat extnames in output for multiple converters

This commit is contained in:
Parker Moore 2014-08-10 20:32:29 -04:00
parent 8c0cd10b07
commit fd2d7df9b7
1 changed files with 2 additions and 2 deletions

View File

@ -80,9 +80,9 @@ module Jekyll
if converters.all? { |c| c.is_a?(Jekyll::Converters::Identity) }
ext
else
converters.map {|c|
converters.map { |c|
c.output_ext(ext) unless c.is_a?(Jekyll::Converters::Identity)
}.compact.uniq.join("")
}.compact.last
end
end