Skip to content

Commit 9913289

Browse files
committed
2 parents 6b6d2ec + 5368488 commit 9913289

File tree

174 files changed

+861
-865
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

174 files changed

+861
-865
lines changed

app/Support/Markdown.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ protected function convertSpecialBlockquotes(): static
114114
public function absoluteImageUrls(string $baseUrl): static
115115
{
116116
$this->content = preg_replace(
117-
pattern: '/src=["\'](?!https?:\/\/)([^"\']+)["\'][^>]/i',
118-
replacement: 'src="' . $baseUrl . '$1" ',
117+
pattern: '/\b(src|srcset)\s*=\s*(["\'])(?!https?:\/\/|data:|\/\/)([^"\']+)\2/i',
118+
replacement: '$1=$2' . $baseUrl . '$3$2',
119119
subject: $this->content
120120
);
121121

content/articles/leandrocfe-whats-new-in-filament-v4.md

Lines changed: 1 addition & 1 deletion

content/authors/alizharb.md

Lines changed: 6 additions & 0 deletions
334 KB
1.03 MB
120 KB

content/authors/avatars/inerba.jpg

32.5 KB
318 KB
30.8 KB

content/authors/avatars/resma.jpg

64 KB

0 commit comments

Comments
 (0)