All I use is remove_filter( 'the_content', 'wpautop' ); remove_filter( 'the_excerpt', 'wpautop' );
and that stops WordPress from creating any extra markup. Are you copying and pasting your code from an external editor?
All I use is remove_filter( 'the_content', 'wpautop' ); remove_filter( 'the_excerpt', 'wpautop' );
and that stops WordPress from creating any extra markup. Are you copying and pasting your code from an external editor?