Skip to content

Commit

Permalink
correctly handle preview URLs with spaces within website/book projects
Browse files Browse the repository at this point in the history
  • Loading branch information
jjallaire committed Aug 15, 2023
1 parent 234d013 commit 421e4f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions apps/vscode/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.94.0 (Unreleased)

- Correctly handle preview URLs with spaces within website/book projects

## 1.93.0 (Release on 14 August 2023)

- Visual editor: Ensure that raw inline html without tags uses explicit inline syntax
Expand Down
2 changes: 1 addition & 1 deletion apps/vscode/src/providers/preview/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ class PreviewManager {
// capture preview command url and preview url
this.previewCommandUrl_ = match[1];
const browseMatch = this.previewOutput_.match(
/(Browse at|Listening on) (https?:\/\/[^\s]*)/
/(Browse at|Listening on) (https?:\/\/[^\n]*)/
);
if (browseMatch) {
// shiny document
Expand Down

0 comments on commit 421e4f9

Please sign in to comment.