Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

White space is not preserved when link-reference text is split over lines #754

Closed
egnha opened this issue Jul 8, 2018 · 0 comments
Closed

White space is not preserved when link-reference text is split over lines #754

egnha opened this issue Jul 8, 2018 · 0 comments

Comments

@egnha
Copy link
Contributor

@egnha egnha commented Jul 8, 2018

As of a8ed64b,

roc_proc_text(rd_roclet(), "
  #' Title
  #' 
  #' Some [link text
  #' split over lines][pkg::fun()].
  #'
  #' @md
  foo <- function() {}")[[1]]

collapses the white space between the words “text” and “split”:

% Generated by roxygen2: do not edit by hand
% Please edit documentation in RtmpBGoS8c/file16a1a34b1d2a0
\name{foo}
\alias{foo}
\title{Title}
\usage{
foo()
}
\description{
Some \link[pkg:fun]{link textsplit over lines}.
}

The cause is the same as in #628 (which was fixed in #630).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants