lib/ting/tones/accents.rb in ting-0.11.0 vs lib/ting/tones/accents.rb in ting-0.12.0
- old
+ new
@@ -25,10 +25,10 @@
tone = tone % MAX_TONE
case syll
when /a/
syll.sub(/a/, tone_glyph(:a,tone))
when /e/
- syll.sub(/e/, tone_glyph(:e,tone))
+ syll.sub(/e/, tone_glyph(:e,tone)).sub('v', 'ü')
when /o/
syll.sub(/o/, tone_glyph(:o,tone))
when /(i|u|v)\z/
syll.sub($1, tone_glyph($1,tone)).sub('v', 'ü')
when /(i|u|v)/