Revert "Retaining formatting after hitting enter"

This reverts commit 8bec59522b7211c123e60ff406f8897a6718a72b.