Skip to content

Fix simplexml_load_string() warning with SVG content validation

  • Check if content is actually SVG before parsing
  • Suppress XML parsing errors to prevent warnings
  • Add proper error logging for invalid SVG files
  • Use FALSE check instead of falsy check for simplexml result
  • Addresses issue #3549902

Closes #3549902

Merge request reports

Loading