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

Percentage sign '%' is not escaped in ... code block. #699

Closed
twang2218 opened this issue Jan 15, 2018 · 0 comments
Closed

Percentage sign '%' is not escaped in ... code block. #699

twang2218 opened this issue Jan 15, 2018 · 0 comments
Labels
bug an unexpected problem or unintended behavior markdown ⬇️ wip work in progress

Comments

@twang2218
Copy link

Say we have a .R file with following documents:

#' ```R
#'
#' generate_eventlog() %>% create_pmap() %>% render_pmap_file("test.svg", format = "svg")
#' %
#' \%
#' ```

The generated .Rd will be:

\preformatted{
generate_eventlog() %>% create_pmap() %>% render_pmap_file("test.svg", format = "svg")
%
\\%
}

As % is not escaped, so everything after % will not be shown in the final document page.

generate_eventlog() 

\

I think this bug is similar to #640, maybe there are other places or characters are needed to be escaped.

@hadley hadley added bug an unexpected problem or unintended behavior markdown ⬇️ wip work in progress labels Jun 28, 2018
@hadley hadley closed this as completed 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