mirror of
https://github.com/shadoll/sLogos.git
synced 2025-12-20 02:26:05 +00:00
This commit introduces a new script, cleanup_worldmap.py, which provides a utility for cleaning and normalizing the SVG file worldmap.svg. The script performs various transformations including: - Normalizing path tags and attributes - Adding data-iso attributes based on a provided JSON mapping - Pretty-printing the SVG output - Creating a backup before overwriting the original file when using the --in-place option The script is designed for ease of use with command-line arguments and includes error handling for XML validation.
876 B
876 B