[Modify] Polish it
This commit is contained in:
parent
343c0acf6a
commit
1c2472c9f3
@ -854,7 +854,10 @@ namespace WebSocketSharp.Net
|
|||||||
if (output == null)
|
if (output == null)
|
||||||
throw new ArgumentNullException ("output");
|
throw new ArgumentNullException ("output");
|
||||||
|
|
||||||
output.Write (s.Length > 0 ? htmlAttributeEncode (s) : s);
|
if (s.Length == 0)
|
||||||
|
return;
|
||||||
|
|
||||||
|
output.Write (htmlAttributeEncode (s));
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user