/** * Tags which have extra whitespace within them. E.g. [[input: ans1]] are forbidden. * @return array of tags. */ protected function get_sloppy_tags($text) { $sloppytags = stack_utils::extract_placeholders_sloppy($text, 'input'); $sloppytags = array_merge(stack_utils::extract_placeholders_sloppy($text, 'validation'), $sloppytags); $sloppytags = array_merge(stack_utils::extract_placeholders_sloppy($text, 'prt'), $sloppytags); return $sloppytags; }