summaryrefslogtreecommitdiff
path: root/plugins/af_zz_imgproxy/init.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-03-22 14:56:53 +0300
committerAndrew Dolgov <[email protected]>2019-03-22 14:56:53 +0300
commit59d0e35b7d9f2e656f33052eca62b5bd7afef591 (patch)
treeba089e123bd538b325d670ac31fe65852c0d02b7 /plugins/af_zz_imgproxy/init.php
parentb583ca12fb1f6fdf02a15762ee7036b2ec653c27 (diff)
parent671f4cee657f36881eeeea7e5d314034252e3ee7 (diff)
Merge branch 'master' of git.fakecake.org:tt-rss
Diffstat (limited to 'plugins/af_zz_imgproxy/init.php')
-rwxr-xr-xplugins/af_zz_imgproxy/init.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/af_zz_imgproxy/init.php b/plugins/af_zz_imgproxy/init.php
index 2cd8fcaf0..b172d4563 100755
--- a/plugins/af_zz_imgproxy/init.php
+++ b/plugins/af_zz_imgproxy/init.php
@@ -155,7 +155,7 @@ class Af_Zz_ImgProxy extends Plugin {
$proxy_all = $this->host->get($this, "proxy_all");
$doc = new DOMDocument();
- if (@$doc->loadHTML($article["content"])) {
+ if (@$doc->loadHTML('<?xml encoding="UTF-8">' . $article["content"])) {
$xpath = new DOMXPath($doc);
$imgs = $xpath->query("//img[@src]");