Skip to content
4 changes: 2 additions & 2 deletions spec/formatting.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The other steps don't do append. They talk about what fmt contains (e.g. "prefix fmt with...")

The change we should be making should actually be earlier. Something like:

  1. For each expression exp in pattern:
    i. Let fmt be the formatted string representation of the resolved value of exp to be appended 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.
Expand Down