Skip to content

Commit

Permalink
Escapes unicode
Browse files Browse the repository at this point in the history
  • Loading branch information
eliocamp committed Nov 5, 2024
1 parent 03b4d0c commit 431f9de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/rd-translate.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ translate <- function(original, translation) {
if (section %in% c("examples", "title")) {
original[[section]] <- paste0(
translation[[section]]$translation,
"\\if{html}{\\out{<details style='display:inline'> <summary>} 🌐 \\out{</summary>} ",
"\\if{html}{\\out{<details style='display:inline'> <summary>} \U0001f310 \\out{</summary>} ",
original[[section]]$original,
"\\out{</details>}}")
} else {
Expand Down

0 comments on commit 431f9de

Please sign in to comment.