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
[quarto] data-qmd content should be escaped at least on double quotes #1487
@rich-iannone I do think there is a related issue mentioned in quarto-dev/quarto-cli#3340 with \QuartoMarkdownBase64{ as raw LaTeX in a cell, and gt not escaping it.
Currently fmt_passthrough with escape = FALSE seems to be the solution. Though I am wondering if this should be by cell and not column.
This makes me think about some tricks we using in knitr where using I() is a way to mark some content as not to be touched.
Activity
cderv commentedon Apr 11, 2024
@rich-iannone I do think there is a related issue mentioned in quarto-dev/quarto-cli#3340 with
\QuartoMarkdownBase64{as raw LaTeX in a cell, and gt not escaping it.Currently
fmt_passthroughwithescape = FALSEseems to be the solution. Though I am wondering if this should be by cell and not column.This makes me think about some tricks we using in knitr where using
I()is a way to mark some content as not to be touched.Like
The first one would go through the processing of text but not be
escape_latex(), while the second would be escaped.Anyhow, maybe not really gt-like and a
latex()should work withmd()orhtml().To be discussed. Do you want another issue specific for LaTeX ? Or should would make this one generic about how to pass some raw content in cells ?
rich-iannone commentedon May 29, 2024
Note to self: this should be fixed by using base-64 encoding of the text.