line break are not working when editing a post

So I have a problem when making a post. If I press enter and make a new line in the editor and press safe the line break diapers. But when I show the post it have inserted a line break. So somehow the editor is not able to show the line break? If I save the editor again the line break disappears from the post as well.

Any ideas?

Read More

I read in a post to try and use:

remove_filter ('the_content', 'wpautop');
remove_filter('the_content', 'wptexturize');

Which I did and now line breaks don’t work at all.
I have build a custom page where the posts are shown with the

echo the_content();

Related posts

Leave a Reply

2 comments