You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
canonical editor and empty lines in equations cause parsing errors #14331
Note the empty liens between dollar signs and the first part of the equation are crucial for reproducing error. Upon saving, the document parses to the following .qmd
This seems to happen only when there is an empty line within equations and a canonical: true editor.
Note: if no empty lines are within the equation block, then the .qmd file parses correctly.
Describe the behavior you expected
I would expect that saving the document does not incorrectly parse the equation block. Unfortunately, this prevents the document from being rendered either.
I can also reproduce this in RStudio Desktop 2022.07.2+576 and 2024.04.0-daily+573 on MacOS 14.4. It also happens if you start in source mode, then switch to visual mode, and occurs both in Quarto and R Markdown documents.
Activity
ronblum commentedon Mar 4, 2024
@jtlandis Thank you for raising the issue!
QA: Try to reproduce this on MacOS first.
ronblum commentedon Mar 14, 2024
I can also reproduce this in RStudio Desktop 2022.07.2+576 and 2024.04.0-daily+573 on MacOS 14.4. It also happens if you start in source mode, then switch to visual mode, and occurs both in Quarto and R Markdown documents.
ronblum commentedon Mar 18, 2024
@ronblum Find out if this is an issue on the Quarto end.
ronblum commentedon Mar 18, 2024
This occurs in R Markdown as well, not just Quarto, so it appears to be a visual editor issue.