mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-09-01 04:11:54 +02:00
fix: various small fixes (#3580)
This commit is contained in:
@@ -169,11 +169,19 @@ EOD;
|
||||
$stickerDiv->find('picture', 0)->style = '';
|
||||
|
||||
return $stickerDiv;
|
||||
} elseif (preg_match(self::BACKGROUND_IMAGE_REGEX, $stickerDiv->find('i', 0)->style, $sticker)) {
|
||||
return <<<EOD
|
||||
}
|
||||
|
||||
$var = $stickerDiv->find('i', 0);
|
||||
if ($var) {
|
||||
$style = $var->style;
|
||||
if (preg_match(self::BACKGROUND_IMAGE_REGEX, $style, $sticker)) {
|
||||
return <<<EOD
|
||||
<a href="{$stickerDiv->children(0)->herf}"><img src="{$sticker[1]}"></a>
|
||||
EOD;
|
||||
}
|
||||
}
|
||||
|
||||
return '';
|
||||
}
|
||||
|
||||
private function processPoll($messageDiv)
|
||||
|
Reference in New Issue
Block a user