A separate service

Created on 6 June 2025, 3 months ago

Problem/Motivation

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

Steps to reproduce

N/A

Proposed resolution

I suggest extracting the sanitisation code out into a service so it can be easily re-used by other modules.

Remaining tasks

Refactor code and move sanitisation code into a service.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom khaled.zaidan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024