diff --git a/Mailer/app/Models/Generators/NovydenikNewsfilterGenerator.php b/Mailer/app/Models/Generators/NovydenikNewsfilterGenerator.php index 58d4d3513..7c5507c71 100644 --- a/Mailer/app/Models/Generators/NovydenikNewsfilterGenerator.php +++ b/Mailer/app/Models/Generators/NovydenikNewsfilterGenerator.php @@ -82,7 +82,7 @@ public function process(array $values): array $meta = $this->content->fetchUrlMeta($url); return '' . $meta->getTitle() . ''; }, - '/(.*?)<\/a>/is' => '$2', + '/]*href="(.*?)".*?>(.*?)<\/a>/is' => '$2', '/(.*?)<\/p>/is' => "

$1

", ]; $rules = $this->getRules($generatorRules);