[dependencies]svgbob = { version = "0.7.3", features = ["with-dom"] }
with-dom
This affects the rendering of text nodes if the svg is rendered statically, characters such as '<' needed to be escaped while if it is rendered in the dom, no escaping is needed.