Remove Line Breaks From Cell Content in WordPress

The <br/> tags are added by wpautop function that is hooked into the_content filter. So you need to unhook it from the page where your table is displayed. There are several ways to do this.

With PHP you can do something like this (change the ‘your_page/post_id’ with the actual ID)

function wpdg_91929_remove_autop_for_page( $content )
{
    global $post;
    if($post->ID == 'your_page/post_id') {
       remove_filter( 'the_content', 'wpautop' );
    }
    return $content;
}
add_filter( 'the_content', 'wpdg_91929_remove_autop_for_page', 0 );

With jQuery you can do something like this:

<script>
(function($){
   $('.GeneratedTable').each(function(){
      $(this).find('br').remove();
   });
})(jQuery);
</script>

error code: 523