Why is the text formatted differently during editing and live?