apostrophe
apostrophe copied to clipboard
SVG cleanup losing portions of image
When loading an SVG into the CMS, it is losing a portion of the image during compression/cleanup of the file.
Discussed in discord here: https://discord.com/channels/517772094482677790/701815369005924374/1065382944035831818
Interesting. My question is whether this is due to something Apostrophe is specifically doing, or can be reproduced using just the dompurify module (what we're actually using to sanitize the svg). If it is the latter, then I suggest updating the version of dompurify in apostrophe to the latest major release, if it's not already. If that doesn't help, opening a ticket on dompurify itself is probably the best way forward.