MeirKriheli / python-bidi

BIDI algorithm related functions
GNU Lesser General Public License v3.0
103 stars 13 forks source link

get_display() removes SOFT HYPHEN ('\xad') #20

Open staskh opened 10 months ago

staskh commented 10 months ago

to replicate:

from bidi.algorithm import get_display  

string= "01\xad2345"
bidi_string = get_display(string)
assert string.find("\xad") != -1
assert bidi_string.find("\xad") == -1