Browse Source

Updated simplehtmldom version

master
achmizs 4 years ago
parent
commit
e211db1ddd
4 changed files with 2375 additions and 1722 deletions
  1. 1
    1
      pastebin-embed.php
  2. 0
    1721
      simple_html_dom.php
  3. 21
    0
      simplehtmldom/LICENSE
  4. 2353
    0
      simplehtmldom/simple_html_dom.php

+ 1
- 1
pastebin-embed.php View File

@@ -110,7 +110,7 @@ function PastebinEmbed ($m) {
? $raw_text
: Keep("<pre class='escaped embedPastebinRaw' id='pastebinEmbed_$id'>\n" . $raw_text . "\n</pre>\n");
} else if ($noJS) {
include_once('simple_html_dom.php');
include_once('simplehtmldom/simple_html_dom.php');
$content_html = file_get_html($embed_iframe_url);
if (!$content_html)

+ 0
- 1721
simple_html_dom.php
File diff suppressed because it is too large
View File


+ 21
- 0
simplehtmldom/LICENSE View File

@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2019 S.C. Chen, John Schlick, logmanoriginal

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

+ 2353
- 0
simplehtmldom/simple_html_dom.php
File diff suppressed because it is too large
View File


Loading…
Cancel
Save