[Modify] Replace it

This commit is contained in:
sta 2018-10-03 19:37:26 +09:00
parent 4fb204efc9
commit e863edbf2c

View File

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