Skip to content

Inner HTML empty? #47

Description

@GoogleCodeExporter
Hi I have this simple initialization code,

   HtmlDocument html = new HtmlDocument();
            html.LoadHtml(new WebClient().DownloadString(_url));

            var document = html.DocumentNode;

then I do this

     List<HtmlNode> nodes = document.QuerySelectorAll("select[name=chapter]").ToList<HtmlNode>();
            List<HtmlNode> chapterList = nodes[0].QuerySelectorAll("option").ToList<HtmlNode>();

it returns the nodes just fine correct length and all but, One problem is when 
I do

chapterList[0].innerHTML

this is empty, when its really not? 

Any one can fix this ? Or any can provide any work around,

Original issue reported on code.google.com by rawri.cl...@gmail.com on 15 Aug 2011 at 1:54

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions