mirror of
https://github.com/friendica/friendica
synced 2025-04-25 02:30:11 +00:00
post/thread views are renamed, search bugs fixed
This commit is contained in:
parent
574f778411
commit
1792046a4f
20 changed files with 83 additions and 77 deletions
|
@ -99,7 +99,7 @@ class OEmbed
|
|||
$html_text = DI::httpRequest()->fetch($embedurl, 15, 'text/*');
|
||||
if ($html_text) {
|
||||
$dom = new DOMDocument();
|
||||
if ($dom->loadHTML($html_text)) {
|
||||
if (@$dom->loadHTML($html_text)) {
|
||||
$xpath = new DOMXPath($dom);
|
||||
foreach (
|
||||
$xpath->query("//link[@type='application/json+oembed'] | //link[@type='text/json+oembed']")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue