From 42da1eba1e7cc0bd4dd947de987aa89ee073145a Mon Sep 17 00:00:00 2001 From: "Garen J. Torikian" Date: Fri, 30 Dec 2022 09:48:46 -0500 Subject: [PATCH] typo --- UPGRADING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UPGRADING.md b/UPGRADING.md index 398c7531..f0565678 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -29,7 +29,7 @@ HTMLPipeline.new( text_filters: [], # array of instantiated (`.new`ed) `HTMLPipeline::TextFilter` convert_filter:, # a filter that runs to turn text into HTML sanitization_config: {}, # an allowlist of elements/attributes/protocols to keep - node_filters:[]) # array of instantiated (`.new`ed) `HTMLPipeline::NodeFilter` + node_filters: []) # array of instantiated (`.new`ed) `HTMLPipeline::NodeFilter` ``` Please refer to the README for more information on constructing filters. In most cases, the underlying filter needs only a few changes, primarily to make use of [Selma](https://www.github.com/gjtorikian/selma) rather than Nokogiri.