Sort:  

I had a similar problem in the past. I created my text in OneNote (with the markdown code) and copied it to steem. This caused a lot of problems with strange behaviours.
Now I'm using a simple texteditor (notepad++) and everything is fine.