-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove optimization to get back the previous behaviour of transformers
Before [1] transformers could modify the DOM, and transformers or filtering that ran after would use the modified DOM. The change in [1] meant that the node name was cached between the running of all transformers so even if one transformer modified it subsequent transformers would be given the previous node name. The added test case fails without the code change because the 'strong' tag is stripped out after the transformer is run since it thinks it is still a 'b'. [1] - caa558a
- Loading branch information
Showing
2 changed files
with
19 additions
and
3 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