Prevent "optimize imports" from removing svg xlink import


I have this svg code in a tpl file

I would like to prevent the import optimizer from removing the xlink line. 

Is there a hint I can add before this line to prevent removing the import?

To explain the problem more, this is a tpl file that imports a bunch of other files that make use of the xlink namespace so it appears unused on this file, but in reality, it's needs to be there.

Thank you for your support

1 comment

As usual, I find the solution minutes after posting a request (although I searched for a solution for an hour before that 😁)

It's this comment

<!--suppress XmlUnusedNamespaceDeclaration -->


Please sign in to leave a comment.