commit | 458138549dbdedc6a566e3faea3e014e8c103e29 | [log] [tgz] |
---|---|---|
author | Duncan Murdoch <murdoch.duncan@gmail.com> | Sat Jan 23 11:06:46 2021 -0500 |
committer | Duncan Murdoch <murdoch.duncan@gmail.com> | Sat Jan 23 11:06:46 2021 -0500 |
tree | 035f7699f8d512b5c455f04048a9dc02de4c9d95 | |
parent | 594057bd76a7b8369221b5c08d1e9d9ab25829f1 [diff] [blame] |
Force user-supplied strings to UTF-8 encoding
diff --git a/R/row_spec.R b/R/row_spec.R index ea96971..60d2a7c 100644 --- a/R/row_spec.R +++ b/R/row_spec.R
@@ -175,7 +175,7 @@ "deg);") } if (!is.null(extra_css)) { - xml_attr(x, "style") <- paste0(xml_attr(x, "style"), extra_css) + xml_attr(x, "style") <- paste0(xml_attr(x, "style"), enc2utf8(extra_css)) } return(x) }