### Bug description

I expect this to fail because of unknown documentclass (or use the locally defined asdf), but it instead compiles with the default value for documentclass.
```
---
title: "Quarto Basics"
format:
  pdf: 
    documentclass: asdf


---

# Hi
foo
```

If I remove one or both of the empty lines before the ending, `---` I get the expected behavior.

Gives the expected result: not compling
```
---
title: "Quarto Basics"
format:
  pdf: 
    documentclass: asdf

---

# Hi
foo
```
same here
```
---
title: "Quarto Basics"
format:
  pdf: 
    documentclass: asdf
---

# Hi
foo
```

I consider this to be a bug that should be fixed. Either not compile at all if empty lines before `---` exists or comile and parse YAML correctly.

# Environment

OS: Fedora 37

Editor: VScode.

quarto --version

```
1.2.269
```





### 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.
2022-12-03T23:28:41Z
crazyminecuber
enhancement upstream lint
Future
open
yaml options are ignored if too many empty new lines are added
https://github.com/quarto-dev/quarto-cli/issues/3560