lib/gimchi/korean.rb in gimchi-0.1.3 vs lib/gimchi/korean.rb in gimchi-0.1.4

- old
+ new

@@ -139,10 +139,10 @@ dissect(chunk).each do | kc | kc.to_a.each_with_index do | comp, idx | next if comp.nil? comp = rdata[idx][comp] || comp comp = comp[1..-1] if comp[0, 1] == dash && - (romanization.empty? || romanization[-1] =~ /\s/ || comp[1, 1] == 'w') + (romanization.empty? || romanization[-1, 1] =~ /\s/) romanization += comp end end return post_subs.keys.inject(romanization) { | output, pattern |