Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 35448d0

Browse files
gkelloggTallTed
andauthoredOct 29, 2024··
bidi isolation
Co-authored-by: Ted Thibodeau Jr <[email protected]>
1 parent be2438a commit 35448d0

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed
 

‎spec/index.html

+8-5
Original file line numberDiff line numberDiff line change
@@ -861,11 +861,14 @@ <h3>Initial Text Direction</h3>
861861
the [=Unicode Bidirectional Algorithm=] detects the text direction from the content.
862862
This depends on the first strongly directional character in the text
863863
or on the context.
864-
Users need to provide [=bidi isolation=] whenever text is inserted into a larger document
865-
in order to avoid [=spillover effects=].
866-
For example &quot;<bdi lang="he">ספרים בינלאומיים!</bdi>&quot; displays the
867-
Hebrew characters in a right-to-left fashion, while in memory
868-
they would be stored as &quot;<bdo dir="ltr" lang="he">ספרים בינלאומיים!</bdo>&quot;</p>
864+
To avoid [=spillover effects=], users need to employ [=bidi isolation=]
865+
whenever text is inserted into a larger document.
866+
For example,
867+
&quot;<code>&lt;bdi lang="he"&gt;ספרים בינלאומיים!&lt;/bdi&gt;</code>&quot;
868+
displays the Hebrew characters in a right-to-left fashion
869+
— i.e., as &quot;<bdi lang="he">ספרים בינלאומיים!</bdi>&quot;
870+
— while they would be stored in memory as
871+
&quot;<bdo dir="ltr" lang="he">ספרים בינלאומיים!</bdo>&quot;</p>
869872
</section>
870873
</section>
871874

0 commit comments

Comments
 (0)
Please sign in to comment.