Hey all,
I am using Linq to XML for some HTML output files. I need to place the infinity symbol (∞
) in the code on output in some table cells. I am creating an XElement like this
var table = new XElement("table",
new XElement("tr",
new XElement("td", "∞")
)
);
var document = new XDocument(table); document.Save(myFile);
and when the file is saved I am not seeing ∞
, instead I see &#8734
. How do I prevent this translation from happening?