I just got hit by a very confusing "by design" behavior and it took me a while to figure out what’s going on. Here is the line of code: text = System.Security.SecurityElement.Escape(text); This method replaces invalid XML characters in a string with their valid XML equivalent. The problem that I had is that when escaping … Continue reading ' is in XML, in HTML use '
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed