[Modify] Replace it
This commit is contained in:
parent
0cd36dc615
commit
a1d0d36185
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user