resolve <defs>
complex SVG icons using `<defs>` (for reusing paths, enable gradients, etc.) can not be rendered properly if simply replace `<svg>` into `<symbol>`. `<defs>` should be placed just under root level.
