mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-31 01:38:24 -05:00
Don't concat extnames in output for multiple converters
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user