Changes between Initial Version and Version 3 of Ticket #59643
- Timestamp:
- 10/17/2023 10:26:29 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #59643
-
Property
Milestone
changed from
Awaiting Reviewto6.4
-
Property
Milestone
changed from
-
Ticket #59643 – Description
initial v3 1 Fixes a bug introduced in #5 475.1 Fixes a bug introduced in #59607. 2 2 3 When applying updates to HTML, one step was left out in #5 475which updated the position of the end of the current tag. This made it possible to create bookmarks with null or earlier end positions than their start position. This in turn broke the Directive Processor in Gutenberg during the backport of changes from Core into Gutenberg.3 When applying updates to HTML, one step was left out in #59607 which updated the position of the end of the current tag. This made it possible to create bookmarks with null or earlier end positions than their start position. This in turn broke the Directive Processor in Gutenberg during the backport of changes from Core into Gutenberg. 4 4 5 5 In this patch, after applying updates, the HTML document is now scanned fully to the end of the current tag, updating the internal pointer to its end, so that nothing else will be broken or misaligned.\ … … 7 7 --- 8 8 9 Given that the bug introduced in #5 475has unknown impact, I strongly urge that we incorporate this patch into 6.4 if it's still possible. The fix should be complete and the reason for this confidence is that it was an obvious-in-hindsight mistake to not find the end of the existing tag when applying updates. Everything except this was called from the change that called the internals directly. Adding the missing piece should close up the erroneous cases.9 Given that the bug introduced in #59607 has unknown impact, I strongly urge that we incorporate this patch into 6.4 if it's still possible. The fix should be complete and the reason for this confidence is that it was an obvious-in-hindsight mistake to not find the end of the existing tag when applying updates. Everything except this was called from the change that called the internals directly. Adding the missing piece should close up the erroneous cases.