-
-
Notifications
You must be signed in to change notification settings - Fork 905
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix:
Node#dup
adds the new node to the document's node cache (#3363)
**What problem is this PR intended to solve?** `Node#dup` adds the new node to the document's node cache to make sure it's marked properly. Fixes #3359. Also, we make sure the new node is decorated if necessary with its document's decorators. **Have you included adequate test coverage?** Yes! HUGE thanks to @byroot for doing the work to create a tight reproduction. 🙇 **Does this change affect the behavior of either the C or the Java implementations?** Both bugfixes affect the C implementation only.
- Loading branch information
Showing
3 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters