Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

HTMLEditorExtender - Characters are not properly escaped #568

Open
3 of 5 tasks
mmarjano opened this issue Apr 26, 2021 · 0 comments
Open
3 of 5 tasks

HTMLEditorExtender - Characters are not properly escaped #568

mmarjano opened this issue Apr 26, 2021 · 0 comments

Comments

@mmarjano
Copy link

mmarjano commented Apr 26, 2021

The AJAX Control Toolkit v20.1.0

The installation method

  • Installer
  • 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

  • VS development web-server,
  • IIS
mmarjano pushed a commit to mmarjano/AjaxControlToolkit that referenced this issue May 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant