editor bug removes markdown spaces