I'm using the AntiXss library in conjunction with TagMapping to remap all textbox and label control data is automatically run through the AntiXss library. When users enter data in a WYSIWYG editor, the data is stored in the database in encoded format in
the database.
When it's displayed in the browser, all html is displayed, including <p> tags, etc. How can I exclude specific tags from being encoded like that?
aspnewbieper...
Member
466 Points
245 Posts
Using AntiXss with TagMapping
Mar 05, 2009 10:46 PM|LINK
Hi,
I'm using the AntiXss library in conjunction with TagMapping to remap all textbox and label control data is automatically run through the AntiXss library. When users enter data in a WYSIWYG editor, the data is stored in the database in encoded format in the database.
When it's displayed in the browser, all html is displayed, including <p> tags, etc. How can I exclude specific tags from being encoded like that?