[Modify] Replace it

This commit is contained in:
sta 2018-09-28 19:50:28 +09:00
parent 26956822d0
commit e2cc195808

View File

@ -857,7 +857,7 @@ namespace WebSocketSharp.Net
if (output == null) if (output == null)
throw new ArgumentNullException ("output"); throw new ArgumentNullException ("output");
output.Write (HtmlAttributeEncode (s)); output.Write (s.Length > 0 ? htmlAttributeEncode (s) : s);
} }
/// <summary> /// <summary>