mirror of
https://github.com/rudollee/HTMLParser.git
synced 2026-08-11 08:22:58 +00:00
new pattern for url
This commit is contained in:
@@ -6,9 +6,8 @@
|
||||
<head runat="server">
|
||||
<title></title>
|
||||
<style type="text/css">
|
||||
#source {
|
||||
width: 293px;
|
||||
height: 99px;
|
||||
body {
|
||||
width: 600px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
@@ -20,10 +20,9 @@ namespace HTMLParser.Example
|
||||
{
|
||||
ParserEx parse = new ParserEx();
|
||||
|
||||
this.ParsedUrl.InnerHtml = parse.ParseUrl(this.txtSource.Value);
|
||||
this.parsedYoutube.InnerHtml = parse.ParseYoutube(this.txtSource.Value);
|
||||
this.parsedUrlAndYoutube.InnerHtml = parse.ParseUrlAndYoutube(this.txtSource.Value);
|
||||
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);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user