355
355
QString BlogPostPrivate::cleanRichText( QString richText ) const
358
358
if ( getBodyContents.indexIn( richText ) ) {
359
359
// Get anything inside but excluding the body tags
360
360
richText = getBodyContents.cap( 1 );
361
361
// Get rid of any whitespace
364
364
// Get rid of styled paragraphs
367
367
// If we're left with empty content then return a clean empty string