reverted
This commit is contained in:
parent
828a9b7c75
commit
e81b7c8f4f
|
@ -96,6 +96,7 @@ namespace Emby.Dlna.Didl
|
|||
|
||||
using (StringWriter builder = new StringWriterWithEncoding(Encoding.UTF8))
|
||||
{
|
||||
// If this using are changed to single lines, then write.Flush needs to be appended before the return.
|
||||
using (var writer = XmlWriter.Create(builder, settings))
|
||||
{
|
||||
// writer.WriteStartDocument();
|
||||
|
@ -113,8 +114,6 @@ namespace Emby.Dlna.Didl
|
|||
|
||||
writer.WriteFullEndElement();
|
||||
// writer.WriteEndDocument();
|
||||
|
||||
writer.Flush();
|
||||
}
|
||||
|
||||
return builder.ToString();
|
||||
|
|
|
@ -4,7 +4,6 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Security;
|
||||
using System.Xml.Linq;
|
||||
using Emby.Dlna.Common;
|
||||
using Emby.Dlna.Ssdp;
|
||||
|
|
Loading…
Reference in New Issue
Block a user