Create tgalopin/html-sanitizer-bundle recipe

This commit is contained in:
Titouan Galopin
2018-11-27 18:22:30 +01:00
parent e49b60cd56
commit 8592a353dc
2 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
html_sanitizer:
default_sanitizer: 'default'
sanitizers:
default:
# Read https://github.com/tgalopin/html-sanitizer/blob/master/docs/1-getting-started.md#extensions
# to learn more about which extensions you would like to enable.
extensions:
- 'basic'
# - 'list'
# - 'table'
# - 'image'
# - 'code'
# - 'iframe'
# - 'extra'
# Read https://github.com/tgalopin/html-sanitizer/blob/master/docs/3-configuration-reference.md
# to discover all the available options for each extension.

View File

@@ -0,0 +1,8 @@
{
"bundles": {
"HtmlSanitizer\\Bundle\\HtmlSanitizerBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}