diff --git a/sanitizer/svg.php b/sanitizer/svg.php
index d57431b26169548827a7799ebed633c78fecdf3b..a978425c737df95f59d214f7be393680b9293a76 100644
--- a/sanitizer/svg.php
+++ b/sanitizer/svg.php
@@ -98,6 +98,7 @@ function sanitizer_svg_string($svg, $fileName = '') {
 		$size = strlen($svg);
 		$sanitizer = new Sanitizer();
 		$sanitizer->setXMLOptions(0); // garder les balises vide en ecriture raccourcie
+		$sanitizer->removeXMLTag(true);
 
 		// Pass it to the sanitizer and get it back clean
 		$svg = $sanitizer->sanitize($svg);