Is it possible to add missing html tags in ASP MVC. Here is what I mean:
String x = "<p><b>Hello world how are you</b></p>";
Substing of that string at the first few character would result in:
String x = "<p>Hello world ";
Where there is the </p> tag missing, using @MvcHtmlString.Create(x) in a loop will cause a confusion of tags cause of the missing tags.
Is there a method in ASP MVC to do this automatically or a C# function to correct them?