public override XElement Parse(ITagProcessor parentProcessor, XElement startElement)
 {
     this.ValidateStartTag(startElement, "HtmlContent");
     var tag = new HtmlContentTag() { Expression = startElement.Value, TagNode = startElement };
     var processor = new HtmlContentProcessor() { HtmlTag = tag };
     parentProcessor.AddProcessor(processor);
     return startElement;
 }
        public override XElement Parse(ITagProcessor parentProcessor, XElement startElement)
        {
            this.ValidateStartTag(startElement, "HtmlContent");
            var tag = new HtmlContentTag()
            {
                Expression = startElement.Value, TagNode = startElement
            };
            var processor = new HtmlContentProcessor()
            {
                HtmlTag = tag
            };

            parentProcessor.AddProcessor(processor);
            return(startElement);
        }