Skip to content

Conversation

@schloerke
Copy link
Collaborator

@schloerke schloerke commented Oct 31, 2022

Fixes #346

tagQuery()'s $remove(), $after(), $before(), $replaceWith() had a bug that prevented expected behavior when sibling children values where not tag elements.

Other changes:

  • Removed elements are now completely removed from the $children attr. (Not just replaced with NULL which is processed like a no-op.)

@schloerke schloerke marked this pull request as ready for review October 31, 2022 18:25
@schloerke schloerke requested a review from cpsievert October 31, 2022 18:25
@schloerke
Copy link
Collaborator Author

the macOS / windows failures are due to GHA installation of R error unrelated to this PR

schloerke and others added 2 commits November 1, 2022 13:36
Co-authored-by: Carson Sievert <cpsievert1@gmail.com>
@schloerke schloerke merged commit 8d1dd6a into main Nov 1, 2022
@schloerke schloerke deleted the tag_query_remove branch November 1, 2022 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tagQuery remove method raises an error

3 participants