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

Extra { around inherited ifelse tags #1062

Closed
akersting opened this issue Mar 17, 2020 · 1 comment · Fixed by #1201
Closed

Extra { around inherited ifelse tags #1062

akersting opened this issue Mar 17, 2020 · 1 comment · Fixed by #1201
Labels
bug an unexpected problem or unintended behavior inherit 👨‍👩‍👧‍👦
Milestone

Comments

@akersting
Copy link
Contributor

Using @inheritParams produces "bad markup" if the Rd inherited from contains \ifelse as e.g. the case for parallel::mclapply.

This is very similar to #778 (fixed in e1d3930). Also here extra {} are added. Hence, adding "\\ifelse" to the vector TWOARG of as_character_rd should fix the issue.

@hadley hadley added bug an unexpected problem or unintended behavior rd ✍️ labels May 1, 2020
@hadley
Copy link
Member

hadley commented May 1, 2020

Would you be interested in contributing a PR?

akersting added a commit to akersting/roxygen2 that referenced this issue Feb 17, 2021
akersting added a commit to akersting/roxygen2 that referenced this issue Feb 17, 2021
akersting added a commit to akersting/roxygen2 that referenced this issue Feb 17, 2021
hadley added a commit to akersting/roxygen2 that referenced this issue Apr 16, 2021
@hadley hadley added this to the v7.1.3 milestone Mar 29, 2022
@hadley hadley changed the title (fix included) Extra { around inherited ifelse tags Extra { around inherited ifelse tags Mar 29, 2022
hadley added a commit to akersting/roxygen2 that referenced this issue Mar 29, 2022
hadley pushed a commit that referenced this issue Mar 29, 2022
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 inherit 👨‍👩‍👧‍👦
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants