Skip to content

Commit

Permalink
section div can now be a descendent of the content div.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinematics committed May 27, 2016
1 parent 758a9dd commit 9a9f918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TallyCore/Adapters/XenForoAdapter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ static IEnumerable<HtmlNode> GetThreadmarksList(IQuest quest, HtmlDocument page)
{
var content = GetPageContent(page, PageType.Threadmarks);

var section = content.GetChildWithClass("div", "section");
var section = content.GetDescendantWithClass("div", "section");

// Check a few different locations for the HTML list.
var list = section.Element("ol") ?? section.Descendants("ul").FirstOrDefault() ?? section.Descendants("ol").FirstOrDefault();
Expand Down

0 comments on commit 9a9f918

Please sign in to comment.