1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-21 05:49:54 +08:00

use select single node for blurb

This commit is contained in:
Gagah Pangeran Rosfatiputra
2021-05-28 00:50:59 +07:00
Unverified
parent e1836cd1b2
commit ead0e92d7d
+1 -1
View File
@@ -46,7 +46,7 @@ namespace osu.Game.Overlays.Wiki
private Container createBlurb(HtmlDocument html)
{
var blurbNode = html.DocumentNode.SelectNodes("//div[contains(@class, 'wiki-main-page__blurb')]").First();
var blurbNode = html.DocumentNode.SelectSingleNode("//div[contains(@class, 'wiki-main-page__blurb')]");
return new Container
{