After simply opening a md file, I found that Document Node corrupted it (linebreaks disappeared and content replaced with garbage characters).
Fortunately, the file was in a git repo, so I was able to revert and no harm done, but that does not exactly inspire confidence...