From d71dbe71b4b919ccc67f6fdebf383349b35cb7a7 Mon Sep 17 00:00:00 2001 From: Nick Strayer Date: Tue, 2 Jun 2020 14:46:04 -0500 Subject: [PATCH] Fixed empty bullet problem by making addition of leading bullet conditional on content existing --- inst/templates/CV_printing_functions.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inst/templates/CV_printing_functions.R b/inst/templates/CV_printing_functions.R index b1a4d24..1d752ca 100644 --- a/inst/templates/CV_printing_functions.R +++ b/inst/templates/CV_printing_functions.R @@ -78,7 +78,7 @@ create_CV_object <- function(data_location, na.rm = TRUE ) %>% dplyr::mutate( - description_bullets = paste0("- ", description_bullets), + description_bullets = ifelse(description_bullets != "", paste0("- ", description_bullets), ""), start = ifelse(start == "NULL", NA, start), end = ifelse(end == "NULL", NA, end), start_year = extract_year(start),