[eluser]Unknown[/eluser]
Hi, I'm trying to use the validation_errors() function in the form_validation library in Twig by adding it with $this->twig->add_function('validation_errors');. Everything goes according to plan but I don't now why when the errors are display it gets the html tags as if where text too so instead of "Some text" it shows "<tag>Some text</tag>". If someone can help it will be most appreciated.
ANSWER: I fix the problem using the autoscape tag in twig like this {% autoescape false %}