View file wu-engine/wu-functions/bbdecoder/validators/WUnormalize.php
<?php namespace JBBCode\validators; require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'InputValidator.php'; class WUnormalize implements \JBBCode\InputValidator { public function validate($input) { if (preg_match('/(<|>)/', $input)) { return false; } else { return true; } } }