sugarizer
sugarizer copied to clipboard
Fix: Using SVG flags to bring compatibility to Windows
Fixed #1757
As per the solution proposed in the issue, a flags folder has been added containing all flag images in SVG format from Flagpedia.
The flag.js file has been updated to serve as a mapping between country names and their respective country codes.
Additionally, the humane.log function, which supports rendering HTML, now includes an <img> tag. It retrieves the corresponding SVG file name from flag.js and renders it in the same format as before: flag <space> country.
Total size of the flags svg = ~ 3.7 MB