Support » Plugin: Easy Login Styler - White Label Admin Login Page for WordPress » Html special chars not rendering properly in custom css

  • So for example:

    input#rememberme:checked:before {
     content: '\2713' !important;
    }

    ends up being output as:

    input#rememberme:checked:before {
     content: '\2713' !important;
    }

    Changing line 27 in /easy-login-styler/includes/login-functions.php resolves the issue.
    from:
    echo esc_textarea( $options['css'] );
    to
    echo htmlspecialchars( $options['css'] );

Viewing 1 replies (of 1 total)
  • Thread Starter btees

    (@btees)

    Haha, ok, the wordpress forum is converting the special characters I put in.

    The plugin is outputting the single quote as & #039

Viewing 1 replies (of 1 total)
  • The topic ‘Html special chars not rendering properly in custom css’ is closed to new replies.