preview: add svg support

Fixed.