-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using HtmlPerformanceKit; | ||
using System; | ||
Check warning on line 2 in Mjml.Net/Internal/HtmlReaderWrapper.cs GitHub Actions / build
Check warning on line 2 in Mjml.Net/Internal/HtmlReaderWrapper.cs GitHub Actions / build
Check warning on line 2 in Mjml.Net/Internal/HtmlReaderWrapper.cs GitHub Actions / build
Check warning on line 2 in Mjml.Net/Internal/HtmlReaderWrapper.cs GitHub Actions / build
Check warning on line 2 in Mjml.Net/Internal/HtmlReaderWrapper.cs GitHub Actions / build
Check warning on line 2 in Mjml.Net/Internal/HtmlReaderWrapper.cs GitHub Actions / build
|
||
using HtmlReaderImpl = HtmlPerformanceKit.HtmlReader; | ||
|
||
namespace Mjml.Net.Internal; | ||
|
@@ -24,6 +25,10 @@ internal class HtmlReaderWrapper : IHtmlReader | |
|
||
public string Text => impl.Text; | ||
|
||
public ReadOnlySpan<char> NameAsSpan => impl.NameAsMemory.Span; | ||
|
||
public ReadOnlySpan<char> TextAsSpan => impl.TextAsMemory.Span; | ||
|
||
public bool SelfClosingElement => impl.SelfClosingElement; | ||
|
||
public HtmlTokenKind TokenKind => impl.TokenKind; | ||
|