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

Comments

@twang2218
Copy link

@twang2218 twang2218 commented Jan 15, 2018

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.

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