Simplify icon generation using nested svg tags