]> git.wh0rd.org Git - tt-rss.git/commit
Check for HTML in the first 100 bytes.
authorChristian Weiske <cweiske@cweiske.de>
Thu, 9 Jul 2015 11:39:07 +0000 (13:39 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Thu, 9 Jul 2015 11:39:07 +0000 (13:39 +0200)
commit5a4074a9f8b95d58a25aa630ab0acaeb00cf37cd
tree9f2d6fa0630e057b8fb7db68812fca648a7816d2
parent12d880d77a166e87aebe49b17e0247c06cec6024
Check for HTML in the first 100 bytes.

Some HTML pages have an XML header (XHTML), which alone is nearly 50 bytes.
Thus we need to check for the HTML or doctype tags in the first 100 bytes.
include/functions2.php