Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Issue: InsertImage in HTML Editor Extender breaks html when saved to a database [27233]

$
0
0
After having succesfully added an image to my HTML Editor Extender, when I save it to the database the html becomes invalid, basically it escapes the HTML (i.e. so < becomes &lt; and > becomes &gt;) thus destroying the <img src=""> tag

Note:
This only happens with the <img src=""> the rest of the html is left unscathed. which I find rather strange.
Comments: A bit clumsy, of course there should be 4 slashes added, i.e. string attributeCharacters = "\\'\\,\\w\\-#\\s\\:\\;\\?\\&\\.\\-\\=\\\\";

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>