@@ -301,7 +301,7 @@ static HtmlUtils()
301301 }
302302
303303 /// <summary>
304- /// Is the given html tag is single tag or can have content.
304+ /// Is the given HTML tag is single tag or can have content.
305305 /// </summary>
306306 /// <param name="tagName">the tag to check (must be lower case)</param>
307307 /// <returns>true - is single tag, false - otherwise</returns>
@@ -311,7 +311,7 @@ public static bool IsSingleTag(string tagName)
311311 }
312312
313313 /// <summary>
314- /// Decode html encoded string to regular string.<br/>
314+ /// Decode HTML encoded string to regular string.<br/>
315315 /// Handles <, >, "&.
316316 /// </summary>
317317 /// <param name="str">the string to decode</param>
@@ -333,7 +333,7 @@ public static string DecodeHtml(string str)
333333 }
334334
335335 /// <summary>
336- /// Encode regular string into html encoded string.<br/>
336+ /// Encode regular string into HTML encoded string.<br/>
337337 /// Handles <, >, "&.
338338 /// </summary>
339339 /// <param name="str">the string to encode</param>
@@ -354,7 +354,7 @@ public static string EncodeHtml(string str)
354354 #region Private methods
355355
356356 /// <summary>
357- /// Decode html special charecters encoded using char entity code (€)
357+ /// Decode HTML special characters encoded using char entity code (€)
358358 /// </summary>
359359 /// <param name="str">the string to decode</param>
360360 /// <returns>decoded string</returns>
@@ -384,7 +384,7 @@ private static string DecodeHtmlCharByCode(string str)
384384 }
385385
386386 /// <summary>
387- /// Decode html special charecters encoded using char entity name (&#euro;)
387+ /// Decode HTML special characters encoded using char entity name (&#euro;)
388388 /// </summary>
389389 /// <param name="str">the string to decode</param>
390390 /// <returns>decoded string</returns>
@@ -403,7 +403,7 @@ private static string DecodeHtmlCharByName(string str)
403403 str = str . Remove ( idx , endIdx - idx + 1 ) ;
404404 str = str . Insert ( idx , c . ToString ( ) ) ;
405405 }
406- else if ( _decodeOnly . TryGetValue ( key , out c ) )
406+ else if ( _decodeOnly . TryGetValue ( key , out c ) )
407407 {
408408 str = str . Remove ( idx , endIdx - idx + 1 ) ;
409409 str = str . Insert ( idx , c . ToString ( ) ) ;
0 commit comments