diff --git a/lib/html_pipeline.rb b/lib/html_pipeline.rb
index 0fb50fbc..8f2afe1f 100644
--- a/lib/html_pipeline.rb
+++ b/lib/html_pipeline.rb
@@ -178,7 +178,7 @@ def call(text, context: {}, result: {})
end
end
- result = result.merge(Hash[*@node_filters.collect(&:result).flatten])
+ result = result.merge(@node_filters.collect(&:result).reduce({}, :merge))
@node_filters.each(&:reset!)
result
diff --git a/lib/html_pipeline/version.rb b/lib/html_pipeline/version.rb
index b029204b..3d2f1699 100644
--- a/lib/html_pipeline/version.rb
+++ b/lib/html_pipeline/version.rb
@@ -1,5 +1,5 @@
# frozen_string_literal: true
class HTMLPipeline
- VERSION = "3.0.0"
+ VERSION = "3.0.1"
end