mouse-hover fixes

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2023-07-12 15:27:43 +01:00
1 parent e1b4f99f4f
commit ea2a4652e9
4 files changed
+7 -6

No files matched your search

+1 -1
View File
@@ -548,7 +548,7 @@ pillar_shaft.ab <- function(x, ...) {
# add the names to the drugs as mouse-over!
if (tryCatch(isTRUE(getExportedValue("ansi_has_hyperlink_support", ns = asNamespace("cli"))()), error = function(e) FALSE)) {
out[!is.na(x)] <- font_url(url = ab_name(x[!is.na(x)]),
out[!is.na(x)] <- font_url(url = paste0(x[!is.na(x)], ": ", ab_name(x[!is.na(x)])),
txt = out[!is.na(x)])
}