You can add this code to your function.php file of your theme
remove_filter( 'the_content', 'wpautop' );
remove_filter( 'the_excerpt', 'wpautop' );
or you can use this plugin for easier control
You can add this code to your function.php file of your theme
remove_filter( 'the_content', 'wpautop' );
remove_filter( 'the_excerpt', 'wpautop' );
or you can use this plugin for easier control