Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

Html entities in fields

edited July 2017 in Share
I had a problem with foreign chars in CMS inputs being converted to entities unnecessarily, and the cure was auto_encode_entities = 0; The docs suggest this can be given an array as a value. Is that associative or not? eg array('name' => false, 'content' => true); or just array('name', 'content'); where inclusivity is assumed true? From testing, it seems safer to set to a boolean.

Comments

  • edited 5:10AM
    It should be the latter with no keys. If not in the array it will not be encoded. If set to TRUE, they will all be encoded.
Sign In or Register to comment.