Test passes if the two boxes below look exactly the same.
Key to entities used below:
א ... ט - The first nine Hebrew letters (strongly RTL).
- The LRM (left-to-right mark) formatting character (invisible, stronly LTR).
- The RLM (right-to-left mark) formatting character (invisible, stronly RTL).
- The LRO (left-to-right override) formatting character.
- The PDF (pop directional formatting) formatting character; closes LRO.
בא
ih
גד
fg
1. I like ה.
2. ה is great!
cd
וז
ba
טח
אב גד 1. I like ה. fg hi
ab cd 2. ה is great! וז חט