diff --git a/apps/vscode/CHANGELOG.md b/apps/vscode/CHANGELOG.md index 1c76bf70..c6688abe 100644 --- a/apps/vscode/CHANGELOG.md +++ b/apps/vscode/CHANGELOG.md @@ -3,6 +3,7 @@ ## 1.127.0 (Unreleased) - Added a new setting `quarto.useBundledQuartoInPositron` to prefer the Quarto CLI bundled with Positron when available. This setting has precedence _between_ `quarto.path` and `quarto.usePipQuarto`, and has no effect outside of Positron (). +- Fixed a bug where previewing showed "Not Found" on Quarto files with spaces in the name in subfolders of projects (). ## 1.126.0 (Release on 2025-10-08) diff --git a/apps/vscode/src/providers/preview/preview.ts b/apps/vscode/src/providers/preview/preview.ts index 586ec0ee..cacad42f 100644 --- a/apps/vscode/src/providers/preview/preview.ts +++ b/apps/vscode/src/providers/preview/preview.ts @@ -531,7 +531,7 @@ class PreviewManager { // capture preview command url and preview url this.previewCommandUrl_ = match[1]; const browseMatch = this.previewOutput_.match( - /(Browse at|Listening on) (https?:\/\/[^\n]*)/ + /(Browse at|Listening on)\s+(https?:\/\/[^\n]*)/ ); if (browseMatch) { // earlier versions of quarto serve didn't print out vscode urls