Skip to content

Display math $$ delimiter showing up in rendered HTML output #1181

@asmaier

Description

@asmaier

Bug description

Here is a (pandoc) markdown test file test.qmd

# Test

$$\begin{equation}
1+2
\end{equation}$$
Some text
$$\begin{equation}
3+4
\end{equation}$$
more text
$$\begin{equation}
5+6
\end{equation}$$
even more text
$$\begin{equation}
7+8
\end{equation}$$
the end.

When rendering as html with pandoc

pandoc -t html5 --mathjax -s -o test-pandoc.html test.qmd

it renders correctly.
Bildschirmfoto 2022-06-19 um 23 04 07
However when rendering the file to html with quarto

quarto render test.qmd

$$ are showing up in the text of the html file
Bildschirmfoto 2022-06-19 um 23 04 23

This happens with quarto 0.9.592 and pandoc 2.18 on Mac OS X 10.15.7 .

Checklist

  • formatted your issue so it is easier for us to read?
  • included a minimal, self-contained, and reproducible example?
  • documented the quarto version you're running, by providing the output produced by quarto check in a terminal in your issue?
  • documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
  • documented which operating system you're running? If on Linux, please provide the specific distribution as well.
  • upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions