Repository navigation
Fix: Bug in _get_wptexturize_split_regex and get_html_split_regex #12403
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
Open
nickchomey
wants to merge
19
commits into
WordPress:trunk
Choose a base branch
from
nickchomey:fix/63997-regex
base: trunk
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
aed5070
fix bug in regex when > is within an attribute's value
nickchomey 60a6c66
fix 43785 - script tag edge case
nickchomey b15c97c
fix regression from previous commit
nickchomey e9de18a
fix 57381 - edge case
nickchomey cee94c5
replace _get_wptexturize_split_regex with get_html_split_regex, as pe…
nickchomey b172130
code review fixes
nickchomey f5b40f9
fix code review
nickchomey e01c8d0
add types and doc blocks to rest of the tests in wpHtmlSplit and wpTe…
nickchomey ec4dca1
merge in trunk, fix merge conflict
nickchomey d3bcd6c
resolve phpstan warning
nickchomey eba7a85
Merge branch 'trunk' into fix/63997-regex
westonruter 39f87d6
Add missing return type for data_whole_posts()
westonruter 276f842
Narrow types in Tests_Formatting_wpHtmlSplit
westonruter 5b275ad
Merge branch 'trunk' into fix/63997-regex
nickchomey 899727a
Formatting: keep > inside quoted attribute values in split regexes
nickchomey a8adc91
Formatting: only treat quotes as special when < starts a tag
nickchomey aaa14d7
Formatting: reduce the split-regex change to a one-line hot-fix
nickchomey 92e0e7e
Formatting: only skip quoted values after a tag name
nickchomey a226945
Tests: restore regression tests for the split-regex fix
nickchomey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reviewed the
wptexturize()tests first, but some of the same comments apply to this file.