Less won't compile when categories slug are utf-8 encoded

This topic contains 0 replies, has 1 voice, and was last updated by  dkokolak 1 year, 7 months ago.

  • Author
    Posts
  • #8539

    dkokolak
    Member
    Post count: 6

    Hi

    First of all thanks for your hard work and this great theme.

    I found a bug I would like to report in case you are interest.

    If you change the category slug to a language that will be UTF-8 encoded (in my case Greek) I get the following error and the dynamic_css won’t be compiled.

    I change the slug to English , which is better anyway than having a strange url, and everything works fine.

    ParseError: Unexpected input in anonymous-file-0.less on line 1314, column 10
    1312| #gradient > .diagonal(@start-color: rgba( red(#c9d642), green(#c9d642), blue(#c9d642),1); @end-color: rgba( red(#c9d642), green(#c9d642), blue(#c9d642),0); @start-percent: 0%; @end-percent: 100%; @deg: 45deg);
    1313| }
    1314| .cat-tag.%cf%80%ce%b1%ce%bd%ce%b9%ce%b1{ background-color:#dd9933;}
    1315| .site-hero.style-color-gradient article.category-%cf%80%ce%b1%ce%bd%ce%b9%ce%b1 .entry-thumbnail:before{
    1316| #gradient > .diagonal(@start-color: rgba( red(#dd9933), green(#dd9933), blue(#dd9933),1); @end-color: rgba( red(#dd9933), green(#dd9933), blue(#dd9933),0); @start-percent: 0%; @end-percent: 100%; @deg: 45deg);
    1317| }

You must be logged in to reply to this topic.