AjaxControlToolkit icon indicating copy to clipboard operation
AjaxControlToolkit copied to clipboard

HTMLEditorExtender - Characters are not properly escaped

Open mmarjano opened this issue 3 years ago • 0 comments

The AJAX Control Toolkit v20.1.0

The installation method

  • [ ] Installer
  • [X] NuGet package
  • [ ] A custom build from the source code

Minimal steps to reproduce the bug

  • Add the HTMLEditorExtender control to the page and run the web app
  • type in: Some text <i>this should not be italic</i>
  • post to the server
  • problem is also reproduceable on the HTMLEditorExtender demo site
  • demo recording: here

Actual result

  • Value received in the codebehind is: Some text <i>this should not be italic</i>
  • If page is then re-rendered, value in the HTMLEditorExtender control is not the same as before postback, and now reads: Some text this should not be italic

Expected result

  • Value received in the codebehind should be: Some text &lt;i&gt;this should not be italic&lt;/i&gt;
  • If page is then re-rendered, value in the HTMLEditorExtender control should be the same as before postback, and should read: Some text <i>this should not be italic</i>

Browser(s) used

Google Chrome 89.0.4389.128

A site deployment method

  • [X] VS development web-server,
  • [X] IIS

mmarjano avatar Apr 26 '21 10:04 mmarjano