mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 11:55:56 +00:00
tweet embed: force utf-8
This commit is contained in:
@@ -106,7 +106,7 @@ class Af_RedditImgur extends Plugin {
|
||||
if ($oembed_result && isset($oembed_result["html"])) {
|
||||
|
||||
$tmp = new DOMDocument();
|
||||
if ($tmp->loadHTML($oembed_result["html"])) {
|
||||
if ($tmp->loadHTML('<?xml encoding="utf-8" ?>' . $oembed_result["html"])) {
|
||||
$p = $doc->createElement("p");
|
||||
|
||||
$p->appendChild($doc->importNode(
|
||||
|
||||
Reference in New Issue
Block a user