-
-
Notifications
You must be signed in to change notification settings - Fork 631
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create tgalopin/html-sanitizer-bundle recipe
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
tgalopin/html-sanitizer-bundle/1.0/config/packages/html_sanitizer.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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%/" | ||
} | ||
} |