WebMarkupMin.Core.GenericHtmlMinifier.IgnoredFragmentHandler C# (CSharp) Method

IgnoredFragmentHandler() private method

Ignored fragments handler
private IgnoredFragmentHandler ( MarkupParsingContext context, string fragment ) : void
context WebMarkupMin.Core.Parsers.MarkupParsingContext Markup parsing context
fragment string Ignored fragment
return void
        private void IgnoredFragmentHandler(MarkupParsingContext context, string fragment)
        {
            _currentNodeType = HtmlNodeType.IgnoredFragment;

            if (fragment.Length > 0)
            {
                _buffer.Add(fragment);
            }
        }