Castle.MonoRail.Framework.Test.MockServerUtility.JavaScriptEscape C# (CSharp) Method

JavaScriptEscape() public method

Escapes JavaScript with Url encoding and returns the encoded string.
Converts quotes, single quotes and CR/LFs to their representation as an escape character.
public JavaScriptEscape ( string content ) : string
content string The text to URL encode and escape JavaScript within.
return string
		public virtual string JavaScriptEscape(string content)
		{
			return content;
		}
	}