html encode/decode - ckeditor
问题 I am using ckeditor in a cshtml page to input content into my database that will later be displayed on a page with html tags to make the text easier to read. Since I am inputting the content through a textarea, I am getting a an error stating that the html tags that I am inputting <h1><p> are potentially dangerous. To bypass this without turning RequestValidation to false, in my cinfig.js file I have set: config.htmlEncodeOutput = true; I am decoding the data from the database when displaying