Closed
Description
NOTE: This issue is due to a pandoc change, and also impacts the RStudio IDE (rstudio/rstudio#15189). I am working on a fix for both the IDE and the VSCode extension.
Steps to reproduce the problem
- Using extension version 1.115.0 in VSCode 1.93.1
- Create a new Quarto document, edit in non-visual mode, add following:
---
title: "Raw HTML Block Issue"
format: html
---
Some text.
```{=html}
<p>Put <b>HTML</b> <i>here</i>.</p>
```
This is <b>inline HTML</b>.
Save the file, then Edit in Visual Mode. It looks ok:

Now switch back to source (non-visual) mode.
Describe the problem in detail
The code block is gone, all that is left is the content, but not the surrounding backticks, etc.
---
title: "Raw HTML Block Issue"
format: html
---
Some text.
<p>Put <b>HTML</b> <i>here</i>.</p>
This is <b>inline HTML</b>.
Describe the behavior you expected
Raw HTML blocks should not be removed by the Visual Editor.
Metadata
Metadata
Assignees
Labels
No labels