Move icon html to macro