Skip to content

Commit

Permalink
add basic br whitelisted html tag for zenodo abstract
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Jun 1, 2024
1 parent 1c2f849 commit 993f012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/actions/zen4R_deposit_record.R
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ function(action, entity, config){
if(!is.null(entity$titles[["alternative"]])){
zenodo_metadata$addAdditionalTitle(entity$titles[["alternative"]], type = "alternative-title")
}
abstract = gsub("\n", "<\br>", entity$descriptions[["abstract"]])
abstract = gsub("\n", "<br>", entity$descriptions[["abstract"]])
zenodo_metadata$setDescription(abstract)
if(!is.null(entity$descriptions[["info"]])){
zenodo_metadata$addAdditionalDescription(entity$descriptions[["info"]], type = "technical-info")
Expand Down

0 comments on commit 993f012

Please sign in to comment.