The complex text rendering code path should not render control characters (including LRM/RLM), instead replacing them with zero-width space like the simple code path does.
Created attachment 13793 [details] Patch
Created attachment 13795 [details] Patch
Comment on attachment 13795 [details] Patch r=me
Landed in r20468.