custom module field form is replacing < for < when save the row

edited January 2016 in Bug Reports
Hi i have some behavior that i don't know if is it correct, because the < is replaced by &lt ; and i don't want that this symbol be replaced when save the row.

Question: how can i avoid this replace?

thanks in advance.

Comments

  • edited 4:37AM
    There is a property on the model called auto_encode_entities (inherited from MY_Model) which can be set to either FALSE or an array of fields that you want it performed on. The default is TRUE which will apply it to all fields:
    public $auto_encode_entities = FALSE;
  • edited 4:37AM
    thanks admin it works well...
Sign In or Register to comment.