mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 20:32:55 +08:00
use select single node for blurb
This commit is contained in:
parent
e1836cd1b2
commit
ead0e92d7d
@ -46,7 +46,7 @@ namespace osu.Game.Overlays.Wiki
|
|||||||
|
|
||||||
private Container createBlurb(HtmlDocument html)
|
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
|
return new Container
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user