Skip to content

Commit a8fdac9

Browse files
committed
Actually keep the results
1 parent 14abefb commit a8fdac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/html_pipeline.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def call(text, context: {}, result: {})
178178
end
179179
end
180180

181-
@node_filters.collect(&:result).reduce(result, :merge)
181+
result = result.merge(@node_filters.collect(&:result).reduce({}, :merge))
182182
@node_filters.each(&:reset!)
183183

184184
result

0 commit comments

Comments
 (0)