I've got string containing HTML code e.g.
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8" /><title>Home Page - My ASP.NET MVC Application</title>
and want to display it on page as formatted text e.g.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Home Page - My ASP.NET MVC Application</title>
The HTML string is coming from DownloadString method of WebClient. It will be nice to format it in the same way Firefox -> View Page Source working.
How can I achieve it?