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.


Ebook Download
View all
Learn
View all