DiscordChatExporter/DiscordChatExporter.Cli.Tests/Utils/Html.cs

12 lines
294 B
C#
Raw Normal View History

2021-07-19 13:09:35 -04:00
using AngleSharp.Html.Dom;
using AngleSharp.Html.Parser;
2021-12-08 16:50:21 -05:00
namespace DiscordChatExporter.Cli.Tests.Utils;
internal static class Html
2021-07-19 13:09:35 -04:00
{
2021-12-08 16:50:21 -05:00
private static readonly IHtmlParser Parser = new HtmlParser();
2021-07-19 13:09:35 -04:00
2021-12-08 16:50:21 -05:00
public static IHtmlDocument Parse(string source) => Parser.ParseDocument(source);
2023-08-22 14:17:19 -04:00
}