Error in pro/framework/functions/frontend/generated-css/icon.php line #565: double quotes must be removed

Hey,

The current code in pro/framework/functions/frontend/generated-css/icon.php on line #565:

.comment-form-comment label { font-family: "<?php echo $x_headings_font_stack; ?>"; }

is outputting in some pages (at least in posts with comments):

.comment-form-comment label{font-family:""[the-font-family-chosen-by-the-user]",sans-serif";}

which has 2 extra double quotes, so it does not validate as proper CSS (it produces an “is an incorrect operator” error message).

In order to fix the problem described, the double quotes must be removed on line 565.

Best regards,
Diego

Hello @CYME,

Thanks for writing in!

Yes, you are right. I tested the same on my local setup and can see double quotes in the generated CSS. I have reported this on our internal issue tracker.

Thanks for reporting back to us.

Thanks.

Thanks @Prasant for confirming the issue!

You are most welcome. :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.

@CYME

Just wanted to let you know we got this fixed in today’s update.