# Adds ability to add break tags on posts remove_filter( 'the_content', 'wpautop' ); remove_filter( 'the_excerpt', 'wpautop' ); add_filter( 'the_content', 'nl2br' ); add_filter( 'the_excerpt', 'nl2br' );
We had the above code in our custom plugin for years and it made the break tag work.
Well it still works. Except multiple line breaks do not work. We can put 50 break tags in a row and the text will just go to the next line. Problem is we need to copy/paste a lot of straight html and spacing is done using break tags.
So why did this stop working when going from 4.4.latest to 4.5.latest? And more importantly what can I do to get tinymce to just read what is there!!?? Also I did try to use the Advanced TinyMCE widget and show paragraph/breaks... That works again but not for multiple. (yes I understand people can have a nonbreaking space in between to show the line - this will involve a lot of work on our part and is truly ghetto)