We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39e5cb6 commit 1f2b7f7Copy full SHA for 1f2b7f7
packages/gitbook/src/lib/images.ts
@@ -67,7 +67,7 @@ export function checkIsSizableImageURL(input: string): boolean {
67
}
68
69
const parsed = new URL(input);
70
- if (parsed.pathname.endsWith('.svg')) {
+ if (parsed.pathname.endsWith('.svg') || parsed.pathname.endsWith('.avif')) {
71
return false;
72
73
if (!checkIsHttpURL(parsed)) {
0 commit comments