|
|
|
|
@ -819,7 +819,10 @@ namespace WebSocketSharp.Net
|
|
|
|
|
|
|
|
|
|
public static string HtmlAttributeEncode (string s)
|
|
|
|
|
{
|
|
|
|
|
if (s == null || s.Length == 0)
|
|
|
|
|
if (s == null)
|
|
|
|
|
throw new ArgumentNullException ("s");
|
|
|
|
|
|
|
|
|
|
if (s.Length == 0)
|
|
|
|
|
return s;
|
|
|
|
|
|
|
|
|
|
var buff = new StringBuilder ();
|
|
|
|
|
|