Welcome Guest, Not a member yet? Register   Sign In
CI 1.7svn less-than (<) is passing through set_value on Form_validation
#6

[eluser]beemr[/eluser]
If you don't want to extend Form_helper(), then you can simply prep your output before you load it into loadXML().
Code:
$str = preg_replace_callback('/(value=)([\'"])+([^\\2])\\2/', create_function('$matches','return $matches[1].$matches[2].htmlspecialchars($matches[3]).$matches[2];'), $this->output->get_output());
        $xml->loadXML($str);


Messages In This Thread
CI 1.7svn less-than (<) is passing through set_value on Form_validation - by El Forum - 10-20-2008, 07:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB