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
Labels
bug an unexpected problem or unintended behavior markdown ⬇️ wip work in progress

Comments

@egnha
Copy link
Contributor

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).

egnha added a commit to egnha/roxygen that referenced this issue Jul 8, 2018
@hadley hadley added bug an unexpected problem or unintended behavior markdown ⬇️ wip work in progress labels Jul 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior markdown ⬇️ wip work in progress
Projects
None yet
Development

No branches or pull requests

2 participants