mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-11 02:36:42 +02:00
chore: update CI to v4.6.3 + all php and js dependencies
This commit is contained in:
parent
96b2df15b0
commit
346c00e7b5
206 changed files with 6239 additions and 5336 deletions
|
|
@ -358,7 +358,8 @@ abstract class BasePlugin implements PluginInterface
|
|||
$environment = new Environment([
|
||||
'html_input' => 'escape',
|
||||
'allow_unsafe_links' => false,
|
||||
'host' => (new URI(base_url()))->getHost(),
|
||||
'host' => new URI(base_url())
|
||||
->getHost(),
|
||||
]);
|
||||
$environment->addExtension(new CommonMarkCoreExtension());
|
||||
|
||||
|
|
@ -368,13 +369,15 @@ abstract class BasePlugin implements PluginInterface
|
|||
$environment->addEventListener(
|
||||
DocumentParsedEvent::class,
|
||||
static function (DocumentParsedEvent $event): void {
|
||||
(new ExternalLinkProcessor())->onDocumentParsed($event);
|
||||
new ExternalLinkProcessor()
|
||||
->onDocumentParsed($event);
|
||||
},
|
||||
);
|
||||
$environment->addEventListener(
|
||||
DocumentParsedEvent::class,
|
||||
static function (DocumentParsedEvent $event): void {
|
||||
(new ExternalImageProcessor())->onDocumentParsed($event);
|
||||
new ExternalImageProcessor()
|
||||
->onDocumentParsed($event);
|
||||
},
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue