I'm trying to beautify html from string using tidyhtml5managed, code is:
using (Document doc = Document.FromString(myhtmltext)) //<html><head><...
{
doc.IndentAttributes = true;
doc.CleanAndRepair();
Literal1.Text = doc.ToString();
}
I got output like this
TidyManaged.Document
My question is how to get html beautified output? Sorry for my bad English.