Remove test page

This commit is contained in:
2025-11-16 11:19:13 +09:00
parent 00fbba1401
commit 75ba19839e
4 changed files with 0 additions and 248 deletions

View File

@ -1,29 +0,0 @@
using System.Text;
using System.Xml;
using System.Xml.Linq;
namespace Hcs.WebApp.Utils
{
internal static class XmlBeautifier
{
internal static string Beautify(string xml)
{
var stringBuilder = new StringBuilder();
var settings = new XmlWriterSettings
{
OmitXmlDeclaration = true,
Indent = true,
NewLineOnAttributes = true
};
using (var xmlWriter = XmlWriter.Create(stringBuilder, settings))
{
var element = XElement.Parse(xml);
element.Save(xmlWriter);
}
return stringBuilder.ToString();
}
}
}