Open shirdekel opened 4 years ago
Seems to be fixed by moving citationwrap
in front of cmwrap
in the wrappers argument in redoc()
.
i.e., from
wrappers = list(
htmlcommentwrap, latexwrap,
rawblockwrap, rawspanwrap,
cmwrap, citationwrap
)
to
wrappers = list(
htmlcommentwrap, latexwrap,
rawblockwrap, rawspanwrap,
citationwrap, cmwrap
)
reprex.bib
reprex.Rmd
Output
reprex.docx
Dedoc
It seems as though the CriticMarkup code gets captured in the
citationwrap
regex.Session Info
```r ─ Session info ──────────────────────────────────── setting value version R version 3.5.3 (2019-03-11) os macOS Mojave 10.14.6 system x86_64, darwin15.6.0 ui RStudio language (EN) collate en_AU.UTF-8 ctype en_AU.UTF-8 tz Australia/Sydney date 2020-04-09 ``` Pandoc version (get with rmarkdown::pandoc_version): 2.3.1 RStudio version (if applicable): 1.3.300