On 13/06/2022 11:40, Tzafrir Cohen wrote:

If you can find the part of the code that outpus, simply inserting
an "LRM" character between cells should, at the very least, greatly
improve things.
Isn't that what LRE and PDF are for?

I'm not sure what they are there for, but they are very dangerous in such contexts.

First of all, they set explicit paragraph direction, so you need to to explicitly analyze the text (or have out of bounds way to determine) whether it is LTR or RTL. Then you need to sanitize the text in case it has LRE/RLE/PDF in it, that would destroy your wrapper.


So, no, I wouldn't use them for this purpose.

_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to