Add hook after content without formatting

Pull from the provided answer back in 2012 and testing with the 2021 theme it works as intended.

function addTable( $content ) {
        
        ob_start(); 
        echo '<table><tbody><tr><td>Example html here</td></tr></tbody></table>';
        $table = ob_get_clean();
        
        $content .= $table;
      
        return $content;
    }
      
    add_filter( 'the_content', "addTable", 20 );

enter image description here