', ']]>', $content );
$outer_class = apply_filters( 'et_builder_outer_content_class', array( 'et-boc' ) );
$outer_classes = implode( ' ', $outer_class );
$outer_id = apply_filters( 'et_builder_outer_content_id', 'et-boc' );
$inner_class = apply_filters( 'et_builder_inner_content_class', array( 'et_builder_inner_content' ) );
$inner_classes = implode( ' ', $inner_class );
$content = sprintf(
'
',
$content,
esc_attr( $outer_classes ),
esc_attr( $inner_classes ),
esc_attr( $outer_id )
);
} else {
$content = apply_filters( 'the_content', wp_unslash( $_POST['shortcode'] ) );
$content = str_replace( ']]>', ']]>', $content );
}
if ( $post ) {
wp_reset_postdata();
}
echo et_core_intentionally_unescaped( $content, 'html' );
} else {
printf( '
%1$s
', esc_html__( 'Loading preview...', 'et_builder' ) );
}
?>