pubcrawl: make a good faith effort to handle multi-media content

This commit is contained in:
zotlabs 2017-09-18 21:55:45 -07:00
parent 4fbebe7b2d
commit c6bcea0f82

View file

@ -1711,7 +1711,7 @@ function compat_photos_list($s) {
$found = preg_match_all('/\[[zi]mg(.*?)\](.*?)\[/ism',$s,$matches,PREG_SET_ORDER);
if($found) {
foreach($matches as $match) {
foreach($matches as $match) {
$ret[] = [
'href' => $match[2],
'length' => 0,