### Bug description

`\r` and `\n` in math environments get interpreted as carriage return and line feed when using gfm

OS: OSX and Debian 11
Quarto v 1.3.34

````md
---
format: gfm
---

$$\left{a\right}$$
$$\nabla$$
````

renders as

````md
$$\left{a
ight}$$

$$
abla$$
````


### 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
2022-11-30T17:04:01Z
agerlach
bug needs-repro
v1.3
closed
gfm improper handling of escapes in math environments
https://github.com/quarto-dev/quarto-cli/issues/3526