Quotation marks symbols are not the same if the code is wrapped in <code>
or in backticks
#10511
Labels
support
a request for support
<code>
or in backticks
#10511
Bug description
Not sure this is a bug, but the quotation mark symbols in code formatting are different depending on whether the code is wrapped in backticks or in HTML tags:
Steps to reproduce
Expected behavior
I thought that wrapping code in
<code>
or in backticks would output the quotation marks appearing with backticks, i.e. I would expect both cases to output"standard"
, not the "curvy" quotation marks.To give a bit more context, in
altdoc
, we convert .Rd files to Quarto files usingtools::Rd2HTML()
(among other things). Therefore, the .qmd file that is generated contains<code>
tags, and not markdown formatting. When we render this file, the "curvy" quotation marks appear in the HTML output, just like in the example above. The problem is that those curvy quotation marks are not valid in R, e.g.:meaning that they can't be copy-pasted. Therefore, I'd like the HTML output when using
<code>
tags to be the same as when using backticks.Actual behavior
Quoted text that is wrapped in
<code>
or in backticks doesn't have the same quotation marks.Your environment
Quarto check output
The text was updated successfully, but these errors were encountered: