I think I may have found another occasional error with the .Render() method. I created a CsQuery objects off HTML and when I do a .Render(), occasionally I get the following error:
Details: System.NullReferenceException: Object reference not set to an instance of an object.
at CsQuery.Implementation.AttributeCollection.d0.MoveNext()
at CsQuery.Implementation.DomElement.d38.MoveNext()
at CsQuery.Output.FormatDefault.RenderElementInternal(IDomObject element, TextWriter writer, Boolean includeChildren)
at CsQuery.Output.FormatDefault.RenderStack(TextWriter writer)
at CsQuery.Output.FormatDefault.Render(IDomObject node)
CsQuery 1.3.5-beta5 (Prerelease)
I think I may have found another occasional error with the .Render() method. I created a CsQuery objects off HTML and when I do a .Render(), occasionally I get the following error:
Details: System.NullReferenceException: Object reference not set to an instance of an object. at CsQuery.Implementation.AttributeCollection.d0.MoveNext()
at CsQuery.Implementation.DomElement.d 38.MoveNext()
at CsQuery.Output.FormatDefault.RenderElementInternal(IDomObject element, TextWriter writer, Boolean includeChildren)
at CsQuery.Output.FormatDefault.RenderStack(TextWriter writer)
at CsQuery.Output.FormatDefault.Render(IDomObject node)