I was editing a xaringan slide deck using the most recent preview version 1.2.792 on Ubuntu 18.04. The slide deck containes the following emojis: ,
,
,
,
,
,
,
, and perhaps others. I observed the following behavior:
-
Saving the
.Rmd
file often garbled it. I could not isolate a pattern, it looks like parts of the text were skipped or repeated. I'm pretty sure that it's the editor that breaks the file, because the.Rmd
is version-controlled, and I observed the garbled contents right after saving. -
When positioning the caret left to any of these emojis and pressing "Cursor right", the caret ended up in the middle of the emoji. Pressing "space" created two three characters -- a space surrounded by two question-mark-like symbols. Pressing "Cursor right" again, instead of space, positioned the caret on the right of the emoji.
Please advise.