Trim content without stripping formatting

Well, as far I understood you want to remove all the HTML tags from the trimmed the_content. Right???

Try wp_filter_nohtml_kses function. Hope that’s going to work. Here is the full code-

<?php $trimmed = wp_filter_nohtml_kses( wp_trim_words( get_the_content(), 55, "" ) ); ?>
<?php echo $trimmed; ?>