### Bug description

<img width="958" alt="render-pdf_open-in-browser" src="https://user-images.githubusercontent.com/20233085/202265650-f31857fe-c785-4506-99e3-2605a49c593f.png">

'Open in Browser' opens https://coder.jupyter.b-data.ch/hub/proxy/7095/web/viewer.html, which is wrong.

---

<img width="958" alt="render-pdf_browse-at" src="https://user-images.githubusercontent.com/20233085/202265934-2a898c15-23d0-4d90-8133-19f3ce67c659.png">

Browse at shows https://coder.jupyter.b-data.ch/user/benz0li/code-server/proxy/7095/web/viewer.html, which is correct.

---

@jjallaire @cscheid @dragonstyle May be reproduced at https://coder.jupyter.b-data.ch with image `R (jupyterlab/r/verse:latest-devtools)` using

````qmd
---
title: "ggplot2 demo"
author: "Norah Jones"
date: "5/22/2021"
format: 
  html:
    code-fold: true
    fig-format: svg
---

## Air Quality

@fig-airquality further explores the impact of temperature on ozone level.

```{r}
#| label: fig-airquality
#| fig-cap: Temperature and ozone level.
#| warning: false

library(ggplot2)

ggplot(airquality, aes(Temp, Ozone)) + 
  geom_point() + 
  geom_smooth(method = "loess"
)
```
````

### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [ ] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [ ] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
2022-11-16T18:55:07Z
benz0li
bug needs-repro
closed
Render PDF: 'Open in Browser' opens wrong link (code-server with Jupyter Server Proxy)
https://github.com/quarto-dev/quarto-cli/issues/3352