예제 #1
0
 public override string HandleSpoilers(HtmlNode node)
 {
     if (node.GetAttributeValue("class", "").Equals("bbc-spoiler"))
     {
         var spoilerContent = new SpoilerWebParser(node.FirstChild);
         return(spoilerContent.Body);
     }
     return(String.Empty);
 }
예제 #2
0
 public override string HandleSpoilers(HtmlNode node)
 {
     if (node.GetAttributeValue("class", "").Equals("bbc-spoiler"))
     {
         var spoilerContent = new SpoilerWebParser(node.FirstChild);
         return spoilerContent.Body;
     }
     return String.Empty;
 }