Skip to content

Commit b47c46f

Browse files
authored
Merge branch 'filamentphp:main' into main
2 parents 41728f5 + 65db6b8 commit b47c46f

File tree

120 files changed

+743
-766
lines changed

Some content is hidden

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

120 files changed

+743
-766
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/authors/alizharb.md

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

content/authors/avatars/inerba.jpg

32.5 KB
318 KB
30.8 KB

content/authors/avatars/resma.jpg

64 KB
178 KB

content/authors/charlie-etienne.md

Lines changed: 9 additions & 0 deletions

0 commit comments

Comments
 (0)