1
0
mirror of https://github.com/rudollee/HTMLParser.git synced 2026-08-11 08:22:58 +00:00

Null Case

This commit is contained in:
wook
2017-05-10 14:30:34 +09:00
parent 5f8b2bba41
commit 0396443a51
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -21,8 +21,8 @@ namespace HTMLParser.Example
ParserEx parse = new ParserEx();
this.ParsedUrl.InnerHtml = parse.ParseUrl(this.txtSource.Value);
this.parsedYoutube.InnerHtml = parse.GenerateYoutubeScripts(this.txtSource.Value).First();
this.parsedUrlAndYoutube.InnerHtml = parse.GenerateYoutubeScripts(this.txtSource.Value).First() + parse.ParseUrl(this.txtSource.Value);
this.parsedYoutube.InnerHtml = parse.GenerateYoutubeScripts(this.txtSource.Value).FirstOrDefault() ?? "";
this.parsedUrlAndYoutube.InnerHtml = parse.ParseUrlAndYoutube(this.txtSource.Value);
}
}
}