πͺ breaks the offset calculation
drahnr opened this issue Β· comments
Describe the bug
After πͺ in a README.md
markdown header, the offsets are shifted and never recover.
To Reproduce
Steps to reproduce the behaviour:
- A file containing
# xx πͺ yy
- Run
cargo spellcheck fix
- See distortion
Expected behavior
No shifted offset, work as anticipated.
Please complete the following information:
- System: Fedora
- Obtained: git
- Version: 0.4.5-alpha.0
probably a last dormant len()
vs chars().count()
somewhere hidden.
Works with 0.4.5
release.