<commit_before><?php

class Wabbr_Components extends Wabbr_Shortcode
{
	function add_shortcodes()
	{
		add_shortcode( 'list-group', 	array( &$this, 'list_group' ) );
	}

	function list_group( $atts, $content = null )
	{
		extract( shortcode_atts( array(
			'class' 	=> '',
		), $atts ) );

		return '<div class="list-group ' . $class . '">' . do_shortcode( $content ) . '</ul>';
	}
}<commit_msg>Cleaner list-group<commit_after><?php

class Wabbr_Components extends Wabbr_Shortcode
{
	function add_shortcodes()
	{
		add_shortcode( 'list-group', 	array( &$this, 'list_group' ) );
	}

	function list_group( $atts, $content = null )
	{
		extract( shortcode_atts( array(
			'class' 	=> '',
		), $atts ) );

		$content = str_replace( '<ul>', '<ul class="list-group">', $content );
		$content = str_replace( '<li>', '<li class="list-group-item">', $content );

		return '<div class="wabbr-list-group ' . $class . '">' . do_shortcode( $content ) . '</ul>';
	}
}
{'fraction_non_alphanumeric': 0.19832109129066108, 'fraction_numerical': 0.0, 'mean_word_length': 4.129032258064516, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2867678', 'n_tokens_mistral': 374, 'n_tokens_neox': 355, 'n_words': 71}