Skip to content

Commit

Permalink
Create tgalopin/html-sanitizer-bundle recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
tgalopin committed Nov 27, 2018
1 parent e49b60c commit 8592a35
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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.
8 changes: 8 additions & 0 deletions tgalopin/html-sanitizer-bundle/1.0/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"bundles": {
"HtmlSanitizer\\Bundle\\HtmlSanitizerBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}

0 comments on commit 8592a35

Please sign in to comment.