We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If an argument to a tag function is NA, then it should be turned into an empty HTML attribute:
div(class = "abc", foo=NA) #> <div class="abc" foo></div>
However, if there are two other arguments with the same name, then the NA will turn into "NA":
"NA"
div(class = "abc", class = "xyz", foo=NA) #> <div class="abc xyz" foo="NA"></div>
The text was updated successfully, but these errors were encountered:
Make sure NA attributes are rendered as blank. Fixes rstudio#99
9d4620a
Oh, sorry. Forget my comment (I see that the bug is to make sure that the behavior I am relying on always occurs).
Sorry, something went wrong.
Make sure NA attributes are rendered as blank. Fixes #99
3aee819
Successfully merging a pull request may close this issue.
If an argument to a tag function is NA, then it should be turned into an empty HTML attribute:
However, if there are two other arguments with the same name, then the NA will turn into
"NA"
:The text was updated successfully, but these errors were encountered: