diff --git a/tgalopin/html-sanitizer-bundle/1.0/config/packages/html_sanitizer.yaml b/tgalopin/html-sanitizer-bundle/1.0/config/packages/html_sanitizer.yaml new file mode 100644 index 00000000..a5be1925 --- /dev/null +++ b/tgalopin/html-sanitizer-bundle/1.0/config/packages/html_sanitizer.yaml @@ -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. diff --git a/tgalopin/html-sanitizer-bundle/1.0/manifest.json b/tgalopin/html-sanitizer-bundle/1.0/manifest.json new file mode 100644 index 00000000..fb08e0ab --- /dev/null +++ b/tgalopin/html-sanitizer-bundle/1.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "HtmlSanitizer\\Bundle\\HtmlSanitizerBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}