File tree Expand file tree Collapse file tree
src/project/types/website/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,3 +11,4 @@ All changes included in 1.8:
1111### ` website `
1212
1313- ([ #12551 ] ( https://github.com/quarto-dev/quarto-cli/pull/12551 ) ): Improve warning issued when ` aliases ` would overwrite an existing document.
14+ - ([ #12616 ] ( https://github.com/quarto-dev/quarto-cli/issues/12616 ) ): find SVG images in image discovery for listings.
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import { getDecodedAttribute } from "../../../../core/html.ts";
1414
1515const kPreviewImgClass = "preview-image" ;
1616const kNamedFilePattern =
17- "(.*?(?:preview|feature|cover|thumbnail).*?(?:\\.png|\\.gif|\\.jpg|\\.jpeg|\\.webp))" ;
17+ "(.*?(?:preview|feature|cover|thumbnail).*?(?:\\.png|\\.gif|\\.jpg|\\.jpeg|\\.webp|\\.svg ))" ;
1818const kNamedFileRegex = RegExp ( kNamedFilePattern , "l" ) ;
1919
2020export function findDescription ( doc : Document ) : string | undefined {
You can’t perform that action at this time.
0 commit comments