I have to give alignment and spacing using code (indent for all child html elements) as similar to Visual studio.
My input:">
Output should be:"
sample
"
samplediv>
"Output should be:"
sample
"
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Francis SusaimichaelRank #466 · 5.4K reputationPosted Jan 23, 2015, 11:44 PM EST
vijay mani7 reputationPosted Jan 24, 2015, 12:15 AM EST
I found that HtmlAgilityPack.dll is to minimize the way the HTML is rendered, not the way to format Html code.
Suggest me a solution Buddy