### Bug description

Rendering a quarto html document triggers iframe links to open in the default browser. This is slightly annoying but not terrible when embedding simple webpages, but embedding the reveal js quarto docs triggered 15+ tabs to open (the website page and all slides in the example deck).

The behaviour occurred when rendering via RStudio render button and via `quarto render` command inside RStudio terminal.

Minimal reproducible example tested on:
- Quarto version: 1.2.335, 1.2.269
- RStudio IDE: (Version 2022.12.0+353 (2022.12.0+353)
- MacOS: Ventura 13.1
- Default Browser: Safari, Chrome

````md
---
title: "Untitled"
format: revealjs
---

## Quarto

Quarto enables you to weave together content and executable code into a finished presentation. To learn more about Quarto presentations see <https://quarto.org/docs/presentations/>.

## Iframe

```{=html}
<iframe width="780" height="500" src="https://quarto.org/docs/presentations/revealjs/" title="Quarto revealjs Documentation"></iframe>
```
````

### 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.
- [X] 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.
- [X] 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.
2023-02-28T02:36:52Z
cynthiahqy
bug rstudio
closed
Rendering should not open embedded iframe links
https://github.com/quarto-dev/quarto-cli/issues/4557