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 < and > becomes >) 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\\:\\;\\?\\&\\.\\-\\=\\\\";
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\\:\\;\\?\\&\\.\\-\\=\\\\";