Skip to content

Commit 421e4f9

Browse files
committed
correctly handle preview URLs with spaces within website/book projects
1 parent 234d013 commit 421e4f9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

apps/vscode/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 1.94.0 (Unreleased)
4+
5+
- Correctly handle preview URLs with spaces within website/book projects
6+
37
## 1.93.0 (Release on 14 August 2023)
48

59
- Visual editor: Ensure that raw inline html without tags uses explicit inline syntax

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ class PreviewManager {
516516
// capture preview command url and preview url
517517
this.previewCommandUrl_ = match[1];
518518
const browseMatch = this.previewOutput_.match(
519-
/(Browse at|Listening on) (https?:\/\/[^\s]*)/
519+
/(Browse at|Listening on) (https?:\/\/[^\n]*)/
520520
);
521521
if (browseMatch) {
522522
// shiny document

0 commit comments

Comments
 (0)