From f697c34c0896fb2fe2b62dd9f12f9efabd6891d0 Mon Sep 17 00:00:00 2001 From: Lukas Ribi Date: Sat, 26 Dec 2020 19:37:21 +0100 Subject: [PATCH] Extended the configuration example in the README (#80) --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4e3a1c17..25af43e4 100644 --- a/README.md +++ b/README.md @@ -75,10 +75,12 @@ exercise_html_purifier: custom: config: Core.Encoding: 'ISO-8859-1' + HTML.Allowed: 'a[href|target],p,br' + Attr.AllowedFrameTargets: '_blank' ``` In this example, a `exercise_html_purifier.custom` service will also be defined, -which includes both the cache and encoding options. Available configuration +which includes cache, encoding, HTML tags and attributes options. Available configuration options may be found in HTMLPurifier's [configuration documentation][]. **Note:** If you define a `default` profile but omit `Cache.SerializerPath`, it