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@84995 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
hornik committed Aug 20, 2023
1 parent a7f313d commit 60950cb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/library/tools/R/Rd2HTML.R
Original file line number Diff line number Diff line change
Expand Up @@ -928,10 +928,9 @@ Rd2HTML <-
## Argh. Quite a few packages put the items in
## their value section inside \code.
if(identical(RdTags(block[[1L]])[1L], "\\code")) {
writeContent(block[[1L]], tag)
} else {
writeItemAsCode(blocktag, block[[1L]])
attr(block[[1L]][[1L]], "Rd_tag") <- "Rd"
}
writeItemAsCode(blocktag, block[[1L]])
of1('</td>\n<td>\n')
inPara <<- FALSE
writeContent(block[[2L]], tag)
Expand Down

0 comments on commit 60950cb

Please sign in to comment.