Howdy!
TSF’s description generator can parse HTML. Here’s a complete list of altered or even ignored elements: https://tsf.fyi/kb/a/65#stripped-html-tags.
The <aside>
HTML element is most applicable in both examples you gave, but I see I added that to the “kept” list… I’ll have that set to “removed” in the next major update (ETA unknown). Thanks for sharing your use case.
Until then, you’ll have to strip those sentences filtering the content from the_seo_framework_fetched_description_excerpt
. For example:
add_filter( 'the_seo_framework_fetched_description_excerpt', function( $excerpt ) {
$excerpt = str_replace(
[
'First sentence',
'A different set of words',
],
'',
$excerpt
);
return $excerpt;
} );
I hope this helps ?? Cheers!