### Bug description

Searching `_*` in Quarto book crashes the browser tab. To reproduce the issue:

1. Go to https://r-pkgs.org/.
1. Type `_*` in the search box.
1. Click any result in the dropdown.
1. In Chrome, the browser tab crashes, showing

```
Aw, Snap!
Something went wrong while displaying this webpage.
Error code: 5
```

In Edge, it shows: This page is having a problem. Error code: **Out of Memory**.

### 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.
dragonstyle
2023-02-10T07:20:02Z
nanxstats
bug
v1.3
closed
Searching `_*` in Quarto book crashes browser
https://github.com/quarto-dev/quarto-cli/issues/4307