Skip to content

Commit

Permalink
Fixed TOC generation crash
Browse files Browse the repository at this point in the history
  • Loading branch information
LordZero25 committed Jun 30, 2018
1 parent 02d90eb commit 13c0853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/syosetuDownloader/Syousetsu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ public static void GenerateTableOfContents(Syousetsu.Constants details, HtmlDocu
HtmlNodeCollection cssNodeList = doc.DocumentNode.SelectNodes("//link[@rel='stylesheet']");

var cssNode = (from n in cssNodeList
where n.Attributes["href"].Value.Contains("ncout.css")
where n.Attributes["href"].Value.Contains("ncout.css") || n.Attributes["href"].Value.Contains("ncout2.css")
select n).ToList();

//get css link and download
Expand Down

0 comments on commit 13c0853

Please sign in to comment.