• This SVG uploaded to a staging site has details stripped out of it when uploaded to WordPress (original SVG).

    The staging site is using the SVG Support plugin.

    (this happened to 2 out of 8 SVGs on that page)

    Help appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • agueritz

    (@agueritz)

    This may be an example of front-end sanitization being overstrict (or broken). I found this with exported Powerpoint SVGs that contain base64 png images.

    Powerpoint embedded PNGs do not display with inline SVG | www.ads-software.com

    The workaround I found is urn off the advanced setting “Sanitize SVG on Front-end”. Not ideal as it possibly removes some protection but it does display that type of image correctly then

    The settings don’t seem to adhere to the ‘sanitize’ role restrictions and it may still be sanitizing when uploading even for your selected role. you can compare file.

    If file is fine, turn off sanitize on upload?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘SVGs being stripped of detail when using the SVG Support plugin’ is closed to new replies.