diff --git a/includes/EmbedService/EmbedHtmlFormatter.php b/includes/EmbedService/EmbedHtmlFormatter.php index 556adb2..81cb9bb 100644 --- a/includes/EmbedService/EmbedHtmlFormatter.php +++ b/includes/EmbedService/EmbedHtmlFormatter.php @@ -194,8 +194,8 @@ public static function makeThumbHtml( AbstractEmbedService $service ): string { // phpcs:disable return << - Thumbnail for {$service->getTitle()} + Thumbnail for {$service->getTitle()} HTML; // phpcs:enable diff --git a/includes/EmbedVideo.php b/includes/EmbedVideo.php index bf41d2b..34217a8 100644 --- a/includes/EmbedVideo.php +++ b/includes/EmbedVideo.php @@ -120,7 +120,7 @@ public static function parseEV( Parser $parser, PPFrame $frame, array $args, boo foreach ( $args as $key => $arg ) { $value = trim( $frame->expand( $arg ) ); if ( $fromTag === true ) { - $expandedArgs[$key] = $value; + $expandedArgs[$key] = $parser->recursiveTagParse( $value, $frame ); } else { $expandedArgs[] = $value; }