try 2 htmlpreview.js .svg with object tag
try 3 htmlpreview.js .svg with embed