Skip to content

Commit f078532

Browse files
author
smeyer
committed
cope with duplicated aliases
git-svn-id: https://svn.r-project.org/R/trunk@87414 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 2a56d7a commit f078532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/library/tools/R/Rd2HTML.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1322,7 +1322,7 @@ Rd2HTML <-
13221322
inPara <- FALSE
13231323
if (!standalone) {
13241324
## create empty spans with aliases as id, so that we can link
1325-
for (a in trimws(unlist(Rd[ which(sections == "\\alias") ]))) {
1325+
for (a in unique(trimws(unlist(Rd[ which(sections == "\\alias") ])))) {
13261326
if (endsWith(a, "-package")) info$pkgsummary <- TRUE
13271327
of0("<span id='", topic2id(a), "'></span>")
13281328
}

0 commit comments

Comments
 (0)