[Modify] Polish it

master
sta 7 years ago
parent a793b5be21
commit 770eb70991

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

Loading…
Cancel
Save