### Bug description

I updated to the latest published Quarto 1.3.361 and noticed that my section-bibliographies extension no longer worked. At first I thought it was a general compatibility issue, but it seems it might be a change in how the .{content-hidden} is processed? As I have played around and found that it still works fine if the content is cited in the normal markdown text, but not if the content is cited inside a .{content-hidden} section, which worked identically in v1.2.475.

### Steps to reproduce

[Quarto-Repex.zip](https://github.com/quarto-dev/quarto-cli/files/11734982/Quarto-Repex.zip)
 The attached zip repex should illustrate the issue, with Quarto 1.2.475 both section bibliographies are written, but with Quarto 1.3.361 only the second section where the citation not in .{content-hidden} shows up.

### Expected behavior

section-bibliography should work identically if the citation is within .{content-hidden} or not

### Actual behavior

with Quarto v.1.3 the section-bibliography does not form if the citation is within .{content-hidden} like it did in Quarto v1.2

### Your environment

- IDE RStudio 2023.03.01
- Quarto 1.2.475 and 1.3.361

### Quarto check output

_No response_
2023-06-13T12:51:56Z
ttalVlatt
bug
open
Compatibility issue with .{content-hidden} and section-bibliographies extension with update from Quarto v1.2 to v1.3
https://github.com/quarto-dev/quarto-cli/issues/5904