[FacebookBridge] Fix media origin info is not inside a tag
References #912
This commit is contained in:
parent
bf91f106b4
commit
cb91d9cce8
1 changed files with 6 additions and 1 deletions
|
@ -590,6 +590,11 @@ EOD;
|
|||
}
|
||||
}
|
||||
|
||||
// Change origin tag for embedded media from div to paragraph
|
||||
foreach($content->find('._59tj') as $subject) {
|
||||
$subject->outertext = '<p>' . $subject->innertext . '</p>';
|
||||
}
|
||||
|
||||
// Change title tag for embedded media from anchor to paragraph
|
||||
foreach($content->find('._3n1k a') as $anchor) {
|
||||
$anchor->outertext = '<p>' . $anchor->innertext . '</p>';
|
||||
|
|
Loading…
Reference in a new issue