fixing editor issues with spacing and special chars, new html -> md parser