# svg-sanitizer 1.1.1 (in Image Manager)

Image Manager cleans SVG uploads with svg-sanitizer by Daryll Doyle, version 1.1.1 (released 20 October 2026),
from https://github.com/darylldoyle/svg-sanitizer (tag 1.1.1, archive SHA-256
11462b21f8b64491ff56067ed253eb95a93f953566de9cafed465fe47eb0cabc). Licence: GPL-2.0-or-later (`composer.json`);
the GNU General Public License version 2 is in `LICENSE`.

What is here is the library's `src` folder, changed in two ways only:

- the namespace `enshrined\svgSanitize` is `AffStackDev\ImageManager\Vendor\SvgSanitize`, so this copy never clashes with
  another plugin's copy of the library (Safe SVG ships one);
- each file stops when it is opened directly (`if ( ! defined( 'ABSPATH' ) ) { exit; }` after its namespace line).

Left out: the command-line scanner `src/svg-scanner.php`, and the library's tests and documents. Image Manager loads
these files only when it cleans an SVG (`includes/class-svg.php`).
