antham / ghokin

Parallelized formatter with no external dependencies for gherkin (cucumber, behat...)
MIT License
43 stars 5 forks source link

Fix formatting issue with special characters #100

Closed antham closed 1 year ago

antham commented 1 year ago

Fix #98, length of special characters is not properly calculated, the number of byte is calculated instead of the number of characters, use the utf8.RuneCountInString instead of len