interscript / interscript-js

Interscript in pure JS
Other
2 stars 1 forks source link

Incorrect behavior of script conversion system in sample usage #5

Closed strogonoff closed 4 years ago

strogonoff commented 4 years ago

The result I am getting when calling (from Node) is:

kh,oa! ttaoa, oeya yml? a’,u yoona y oao’ooi’ya,vyze,coe ybtsi’,aonm-anmamta’aova,aispy cha’ esy,aeaybteev ci.Iekhty,ai’,dzhyayd,ezhlzm kvchn im,anko i’msonmtpma lmaydliorleyayrakyatrpy zhk. evnmtkkh ootkhyashchk:baa aiy,idtcët atachm;a vtl,azmkhlya,aayalpsyu — ivkrm,iyv lskhmshi’vdn akykg,o’o gada,a srklv sueoaoishyyapshkd —i nana’,na’,na’!NV. oo’

This isn’t right and doesn’t match the result of Interscript.com demo (correct):

Ekh, troyka! ptitsa troyka, kto tebya vydumal? znat’, u boykogo naroda ty mogla tol’ko rodit’sya, v toy zemle, chto ne lyubit shutit’, a rovnem-gladnem razmetnulas’ na polsveta, da i stupay schitat’ versty, poka ne zaryabit tebe v ochi. I ne khitryy, kazhis’, dorozhnyy snaryad, ne zheleznym skhvachen vintom, a naskoro zhiv’yëm s odnim toporom da dolotom snaryadil i sobral tebya yaroslavskiy rastoropnyy muzhik. Ne v nemetskikh botfortakh yamshchik: boroda da rukavitsy, i sidit chërt znayet na chëm; a privstal, da zamakhnulsya, da zatyanul pesnyu — koni vikhrem, spitsy v kolesakh smeshalis’ v odin gladkiy krug, tol’ko drognula doroga, da vskriknul v ispuge ostanovivshiysya peshekhod — i von ona poneslas’, poneslas’, poneslas’!
webdev778 commented 4 years ago

Fixed