Fix the <svg> tag issue for glimage history