Describe the bug
It seems that backquotes are automatically escaped in HTML cells ⁉️
I don't get the rationale behind this behavior…
To Reproduce
- Insert a new HTML cell as follows:
\`\`
- Insert another cell as follows:
``
-
Compare the output…
-
It gets even worse when querying the text content of the above nodes:
Array(2) [
0: "\\`\\`"
1: "``"
]
Array.from(document.querySelectorAll("oops")).map((elt) => elt.textContent)
Expected behavior
I expect the output to be the same whether I use a JavaScript or HTML cell, e.g. ``