-
-
Notifications
You must be signed in to change notification settings - Fork 35
In bidi default strategy, make steps consistent with each other #969
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
Merged
aphillips
merged 12 commits into
unicode-org:main
from
catamorphism:bidi-clarification-2
Dec 16, 2024
Merged
Changes from 2 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
6e8513a
In bidi default strategy, make steps consistent with each other
catamorphism 39e9056
Don't replace entire formatted output
catamorphism c69013d
Reformulate the default bidi strategy as a function
catamorphism 386fa2f
Rewrite imperatively
catamorphism 019a29f
Add last line (emit output)
catamorphism f42453c
Fix formatting
catamorphism 4c918ac
Fix formatting harder
catamorphism 7c5bf61
Fix formatting again
catamorphism 53aa0fb
Remove erroneously-added file
catamorphism daa95ad
Update spec/formatting.md
catamorphism 0b2f7a3
Fix indentation
catamorphism e9afb9d
Apply suggestions from Eemeli
catamorphism 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -942,9 +942,9 @@ The _Default Bidi Strategy_ is defined as follows: | |
| True if the `u:dir` _option_ of the _resolved value_ of `exp` has a value other than `'inherit'`, | ||
| or False otherwise. | ||
| 1. If `dir` is `'LTR'`: | ||
| 1. If `msgdir` is `'LTR'` in the formatted output | ||
| 1. If `msgdir` is `'LTR'` | ||
| and `isolate` is False, | ||
| let `fmt` be itself | ||
| append `fmt` to the formatted output. | ||
|
||
| 1. Else, in the formatted output, | ||
| prefix `fmt` with U+2066 LEFT-TO-RIGHT ISOLATE | ||
| and postfix it with U+2069 POP DIRECTIONAL ISOLATE. | ||
|
|
||
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.
Uh oh!
There was an error while loading. Please reload this page.