From b6777a825b68443a586606cbf57d167e0e5ed331 Mon Sep 17 00:00:00 2001 From: Daniel Eder Date: Sun, 19 Oct 2025 00:29:36 +0200 Subject: [PATCH 1/2] fix: regex for detecting preview url Fixes https://github.com/quarto-dev/quarto/issues/852 --- apps/vscode/src/providers/preview/preview.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 1dd404141823c918d304e28b6c5ee5fb3520a94f Mon Sep 17 00:00:00 2001 From: elliot Date: Tue, 21 Oct 2025 10:59:52 -0400 Subject: [PATCH 2/2] Add changelog entry --- apps/vscode/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) 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)