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

  • Resolved bchabot


    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.

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