'',
'style' => '',
),
$params
);
$content = str_replace( ']
', ']', $content );
$content = str_replace( "]
\n", ']', $content );
$content = str_replace( "
\n[", '[', $content );
$style = Sanitizer::class_list( $atts['style'] );
$class = Sanitizer::class_list( $atts['class'] );
return '
' . do_shortcode( $content ) . '
';
}
ebs_backward_compatibility_callback( 'dl', 'osc_theme_deslist' );
function osc_theme_dlitem( $params, $content = null ) {
$atts = shortcode_atts(
array(
'heading' => '',
),
$params
);
$heading = do_shortcode( Sanitizer::shortcode_content( $atts['heading'] ) );
$out = '' . $heading . '';
$out .= '' . do_shortcode( $content ) . '';
return $out;
}
ebs_backward_compatibility_callback( 'dlitem', 'osc_theme_dlitem' );