I tried :
string decodedHtml = HttpUtility.HtmlDecode(html);
Where html is the encoded html. It seems that this does not alter the string at all. The html is still encoded.
I tried :
string decodedHtml = HttpUtility.HtmlDecode(html);
Where html is the encoded html. It seems that this does not alter the string at all. The html is still encoded.
`
<p>Click the button to encode a URI.</p>
<button onclick="myFunction()">Try it</button>
<p id="demo"></p>
<script>
function myFunction() {
var uri = "https://informerspro.com";
var res = encodeURIComponent(uri);
document.getElementById("demo").innerHTML = res;
}
</script>
`