Kana / romaji
JS
open
Reversed ヲ/ヺ dakuten mapping when adding voiced marks (jaco-js)
Reversed ヲ/ヺ voiced-mark mapping in addVoicedMarks and combineSoundMarks
jaco-js · YusukeHirao/jaco-js
Symptom
The ヲ to ヺ voiced-mark mapping is reversed, so adding or stripping a dakuten on ヲ produces the wrong character.
Minimal repro
Add a voiced mark to ヲ; expected ヺ, got the wrong glyph because the mapping is reversed.
Fix
Correct the reversed ヲ/ヺ entry in both addVoicedMarks and combineSoundMarks.