Skip to content

Commit

Permalink
Extended the configuration example in the README (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
lribi authored Dec 26, 2020
1 parent 852d00c commit f697c34
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f697c34

Please sign in to comment.