[Modify] Replace it

This commit is contained in:
sta 2018-10-02 19:46:05 +09:00
parent 0cd36dc615
commit a1d0d36185

View File

@ -889,7 +889,7 @@ namespace WebSocketSharp.Net
if (s == null)
throw new ArgumentNullException ("s");
return s.Length > 0 ? htmlAttributeEncode (s) : s;
return s.Length > 0 ? htmlEncode (s, true) : s;
}
public static void HtmlAttributeEncode (string s, TextWriter output)