Skip to content

Commit

Permalink
Tweaks.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@84948 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
hornik committed Aug 15, 2023
1 parent 71a2b90 commit 5dc1878
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/library/tools/R/Rd2HTML.R
Original file line number Diff line number Diff line change
Expand Up @@ -1497,11 +1497,13 @@ function(dir)
## to ship the logo.
## For now, do simply hyperlinks.
if(!is.na(aatr)) {
if(is.na(aut <- desc["Author"]))
aut <- utils:::.format_authors_at_R_field_for_author(aatr)
desc["Author"] <-
gsub(sprintf("&lt;(https://orcid.org/%s)&gt;",
.ORCID_iD_regexp),
"<a href=\"\\1\">\\1</a>",
gsub("\n", "<br/>", desc["Author"]))
gsub("\n", "<br/>", aut))
}
## </NOTE>
desc["License"] <- htmlify_license_spec(desc["License"], pack)
Expand Down

0 comments on commit 5dc1878

Please sign in to comment.