WordPress.org

Support

Support » Plugins and Hacks » PC Custom CSS » [Resolved] [Plugin: PC Custom CSS] Quotes not escaped properly.

[Resolved] [Plugin: PC Custom CSS] Quotes not escaped properly.

  • This may be an issue others are not seeing because of the content of their CSS but I noticed something…

    Both the single quote (apostrophy) and regular quote are getting escaped improperly.

    For instance if I put this in my custom CSS:
    font-family: “Times New Roman”, Times, serif ;
    The custom.css file contains:
    font-family: \”Times New Roman\”, Times, serif ;

    Not a huge error but it does cause issues, especially in URLs such as:
    background-image: url(‘/some/path/to/img.jpg’);

    The font-family issue is important because if the font name contains whitespace it must be in quotes.

    http://wordpress.org/extend/plugins/pc-custom-css/

  • The topic ‘[Resolved] [Plugin: PC Custom CSS] Quotes not escaped properly.’ is closed to new replies.
Skip to toolbar