Skip to content

Commit d8a37c6

Browse files
daniel-edervezwork
andauthored
fix: regex for detecting preview url (#853)
* fix: regex for detecting preview url Fixes #852 * Add changelog entry --------- Co-authored-by: elliot <[email protected]>
1 parent b1a2cab commit d8a37c6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

apps/vscode/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## 1.127.0 (Unreleased)
44

55
- 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 (<https://github.com/quarto-dev/quarto/pull/841>).
6+
- Fixed a bug where previewing showed "Not Found" on Quarto files with spaces in the name in subfolders of projects (<https://github.com/quarto-dev/quarto/pull/853>).
67

78
## 1.126.0 (Release on 2025-10-08)
89

apps/vscode/src/providers/preview/preview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ class PreviewManager {
531531
// capture preview command url and preview url
532532
this.previewCommandUrl_ = match[1];
533533
const browseMatch = this.previewOutput_.match(
534-
/(Browse at|Listening on) (https?:\/\/[^\n]*)/
534+
/(Browse at|Listening on)\s+(https?:\/\/[^\n]*)/
535535
);
536536
if (browseMatch) {
537537
// earlier versions of quarto serve didn't print out vscode urls

0 commit comments

Comments
 (0)