diff --git a/websocket-sharp/Net/HttpUtility.cs b/websocket-sharp/Net/HttpUtility.cs index fcd7f895..1e982601 100644 --- a/websocket-sharp/Net/HttpUtility.cs +++ b/websocket-sharp/Net/HttpUtility.cs @@ -280,10 +280,15 @@ namespace WebSocketSharp.Net return buff.ToString (); } + /// + /// Initializes the _entities field. + /// + /// + /// This method builds a dictionary of HTML character entity references. + /// This dictionary comes from the HTML 4.01 W3C recommendation. + /// private static void initEntities () { - // Build the dictionary of HTML entity references. - // This list comes from the HTML 4.01 W3C recommendation. _entities = new Dictionary (); _entities.Add ("nbsp", '\u00A0'); _entities.Add ("iexcl", '\u00A1');