<commit_before><?php
/**
 * This can be used as a base class where the striper should be reset
 */

class FormIOField_Fieldsetstart extends FormIOField_Raw
{
	public $buildString = '<fieldset><legend>{$desc}</legend>';

	public function getHTML(&$spinVar)
	{
		$spinVar = 0;		// reset the striper
		return parent::getHTML($spinVar);
	}
}
?><commit_msg>made fieldset striping start off with an unstriped row (was the opposite of form body)<commit_after><?php
/**
 * This can be used as a base class where the striper should be reset
 */

class FormIOField_Fieldsetstart extends FormIOField_Raw
{
	public $buildString = '<fieldset><legend>{$desc}</legend>';

	public function getHTML(&$spinVar)
	{
		$spinVar = -1;		// reset the striper
		return parent::getHTML($spinVar);
	}
}
?>
{'fraction_non_alphanumeric': 0.12467866323907455, 'fraction_numerical': 0.002570694087403599, 'mean_word_length': 4.727941176470588, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '241913', 'n_tokens_mistral': 259, 'n_tokens_neox': 248, 'n_words': 78}