• Resolved wprox

    (@wprox)


    Hi Daryll,

    Thanks for the great plugin ??

    I have been making changes to my Inkscape SVG and uploading the different versions just fine to WP.

    I just made some code edits to the SVG in a text editor, and when trying to upload this version, get this error code in the Media Library:
    “Sorry, this file couldn’t be sanitized so for security reasons wasn’t uploaded”

    Specifically, I just embedded fonts in the SVG using src: url(fonts.googleapis.com…)

    Help!

    Thanks a lot ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Daryll Doyle

    (@enshrined)

    Hi @wprox,

    It sounds to me like the XML is no longer valid as that’s generally when you’ll get that error message (when DOMDocument fails to parse the contents).

    Is it possible for you to double check that it’s valid XML or alternatively if you email me over the file ([email protected]) I’ll check it for you and fix if possible ??

    Cheers,
    Daryll

    Thread Starter wprox

    (@wprox)

    Thank you Daryll, I just emailed you.

    Thread Starter wprox

    (@wprox)

    Super helpful, thank you so much ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sorry, this file couldn’t be sanitized so for security reasons wasn’t uploaded’ is closed to new replies.