-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Block supports: Restore root DOMDocument save #25028
Merged
Merged
Commits on Sep 7, 2020
-
Revert "Save DOMDocument node instead of root + str_replace (#25020)"
This reverts commit 2473c1d.
Configuration menu - View commit details
-
Copy full SHA for e196e5b - Browse repository at this point
Copy the full SHA e196e5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 160750d - Browse repository at this point
Copy the full SHA 160750dView commit details -
Configuration menu - View commit details
-
Copy full SHA for dafd065 - Browse repository at this point
Copy the full SHA dafd065View commit details -
Configuration menu - View commit details
-
Copy full SHA for b92b7ef - Browse repository at this point
Copy the full SHA b92b7efView commit details -
It will be fragile to match exact strings to be removed from a saved DOMDocument. It's already been observed that this introduces extraneous newlines and other document normalization could change the strings we expect to match. Instead of matching some HTML strings to remove, concatenate the children of the document body element in order to produce the expected HTML. Noted in #25028 (comment)
Configuration menu - View commit details
-
Copy full SHA for 502fc60 - Browse repository at this point
Copy the full SHA 502fc60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b8c367 - Browse repository at this point
Copy the full SHA 9b8c367View commit details -
Configuration menu - View commit details
-
Copy full SHA for de01660 - Browse repository at this point
Copy the full SHA de01660View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7b97fa - Browse repository at this point
Copy the full SHA e7b97faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0dd6260 - Browse repository at this point
Copy the full SHA 0dd6260View commit details -
Configuration menu - View commit details
-
Copy full SHA for be9c52c - Browse repository at this point
Copy the full SHA be9c52cView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.