Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion news/changelog-1.10.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,5 @@ All changes included in 1.10:
- ([#14461](https://github.com/quarto-dev/quarto-cli/issues/14461)): Fix `quarto render --to pdf` aborting with `ERROR: Problem running 'fmtutil-sys --all' to rebuild format tree.` when an automatically-installed LaTeX package's post-update format rebuild fails. Format-tree rebuild is now treated as best-effort housekeeping (matching upstream `tinytex` R behavior) — the failure is logged as a warning and the package install completes.
- ([#14472](https://github.com/quarto-dev/quarto-cli/issues/14472)): Add support for Kotlin in code annotations and YAML cell options. (author: @barendgehrels)
- ([#14529](https://github.com/quarto-dev/quarto-cli/issues/14529)): Fix bundled Julia engine path leaking into rendered YAML metadata and pandoc log output when running an installed Quarto. The internal subtree-engine filter only matched the source-tree share-path layout (`resources/extension-subtrees/`) and missed installed layouts where the path is `share/extension-subtrees/`.
- ([#14582](https://github.com/quarto-dev/quarto-cli/issues/14582)): Fix format detection for extension formats (e.g. `acm-pdf`) in project preview, manuscript notebooks, MECA bundles, and website format ordering.
- ([#14582](https://github.com/quarto-dev/quarto-cli/issues/14582)): Fix format detection for extension formats (e.g. `acm-pdf`) in project preview, manuscript notebooks, MECA bundles, and website format ordering.
- ([#14595](https://github.com/quarto-dev/quarto-cli/issues/14595)): Fix reload preview in code-server environment
2 changes: 1 addition & 1 deletion src/webui/quarto-preview/dist/quarto-preview.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions src/webui/quarto-preview/src/server/navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@ export function navigationHandler() {
const normalizeTarget = (target: string) => {
return target.replace(/\/index\.html/, "/")
};
return (ev: MessageEvent<string>) : boolean => {

return (ev: MessageEvent<string>): boolean => {
if (ev.data.startsWith('reload')) {
let target = normalizeTarget(ev.data.replace(/^reload/, ""));
// prepend proxy path to target if we have one
if (target) {
const pathPrefix =
const pathPrefix =
window.location.pathname.match(/^.*?\/p\/\w+\//) ||
window.location.pathname.match(/^.*?\/user\/[\w\d]+\/proxy\/\d+\//);
window.location.pathname.match(/^.*?\/user\/[\w\d]+\/proxy\/\d+\//) ||
window.location.pathname.match(/^.*?\/(?:abs)?proxy\/\d+\//);
if (pathPrefix) {
target = pathPrefix + target.slice(1);
}
Expand Down
Loading