It\'s allowed to embed SVG in HTML...
Hmmm....
If you want the html5 parser to ignore the svg and everything inside it () you could just put the svg into an comment; to let the svg parser ignore the html-note use cdata:
]]>
http://www.w3schools.com/xml/xml_cdata.asp
try something like this...