Usage of HTML Tags in Forums, Blogs, News Titles etc..

It seems C# Corner engine stripping off or removing the HTML Tags when we using in Forums, Blogs, News Titles etc...

There is a workaround by encoding the input text and then post or submit the content.

I normally use Online conversion tool before submitting the posts.

http://www.opinionatedgeek.com/DotNet/Tools/HTMLEncode/encode.aspx

Example:

If we use following text in title,

Project <Name> could not be opened because the Visual C# 2012 compiler could not be created.

C# Corner will update the text as,

Project  could not be opened because the Visual C# 2012 compiler could not be created.

Yes, <Name> got ignored. After HTML-encoded input,

Project &lt;Name&gt; could not be opened because the Visual C# 2012 compiler could not be created.

C# Corner will update the text as,

Project <Name> could not be opened because the Visual C# 2012 compiler could not be created.


Next Recommended Reading How To Convert RTF To HTML In ASP.NET