mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS
This commit is contained in:
@@ -1792,7 +1792,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function is_html($content) {
|
function is_html($content) {
|
||||||
return preg_match("/<html|DOCTYPE html/i", substr($content, 0, 20)) !== 0;
|
return preg_match("/<html|DOCTYPE html/i", substr($content, 0, 100)) !== 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
function url_is_html($url, $login = false, $pass = false) {
|
function url_is_html($url, $login = false, $pass = false) {
|
||||||
|
|||||||
Reference in New Issue
Block a user