- Issue created by @khaled.zaidan
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Really this module is just a wrapper over the enshrined/svg-sanitzer composer package.
I think that is what you're looking for?
The module is only huseful for someone looking to sanitise an uploaded SVG file when rendering the field, but it doesn't help with any other use case.
Examples of other use cases:
- I need to sanitise SVG code from an API
- I need to sanitise SVG code pasted by a user
- I would like to when the file is uploaded so I only save the sanitised version
N/A
I suggest extracting the sanitisation code out into a service so it can be easily re-used by other modules.
Refactor code and move sanitisation code into a service.
N/A
N/A
N/A
Active
2.0
Code
Really this module is just a wrapper over the enshrined/svg-sanitzer composer package.
I think that is what you're looking for?