• Resolved jjjsss

    (@jjjsss)


    When trying to populate an option with a text that contains special characters, the special character is ignored.

    For example, I want to add the value: “C & A”, but it is saved as C & A.

    Because of this, the html validator generates an error.

    Anything I can do ?

    https://ww.wp.xz.cn/plugins/option-tree/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jjjsss

    (@jjjsss)

    Looks like the wordpress forum also converts the entity code into the character.

    The entity code / special characters that I want to display is: [ampersand]amp;

    Plugin Author Derek Herman

    (@valendesigns)

    This is WordPress filtering out the entity you want. OptionTree uses built in functions to filter text.

    As an alternative, I’m pretty sure if you used a different doc type like HTML5 the validator would stop throwing this error.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Special characters’ is closed to new replies.