[Modify] Polish it
This commit is contained in:
parent
a793b5be21
commit
770eb70991
@ -904,10 +904,7 @@ namespace WebSocketSharp.Net
|
||||
if (s == null)
|
||||
throw new ArgumentNullException ("s");
|
||||
|
||||
if (s.Length == 0)
|
||||
return s;
|
||||
|
||||
return htmlDecode (s);
|
||||
return s.Length > 0 ? htmlDecode (s) : s;
|
||||
}
|
||||
|
||||
public static void HtmlDecode (string s, TextWriter output)
|
||||
|
Loading…
Reference in New Issue
Block a user