From e75bbac467bb2a5b603b07cfdb8be073dca47274 Mon Sep 17 00:00:00 2001 From: sta Date: Tue, 8 Jan 2019 21:41:56 +0900 Subject: [PATCH] [Modify] Edit it --- websocket-sharp/Net/HttpUtility.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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');