diff --git a/app/Support/MediaEncoding/TiptapMediaEncoder.php b/app/Support/MediaEncoding/TiptapMediaEncoder.php index 325042c15..f164d309b 100644 --- a/app/Support/MediaEncoding/TiptapMediaEncoder.php +++ b/app/Support/MediaEncoding/TiptapMediaEncoder.php @@ -147,7 +147,8 @@ public static function encodeContent(string $content, string $disk): string if ( $regexMatch === 1 && ! Storage::disk($disk)->exists($matches[1][0]) - && Str::isUrl($content)) { + && Str::isUrl($content) + ) { return $content; }