WIP: CSS ID contains dynamic data, But %root% translates it badly

I have a Block which has a query loop on some term. To reproduce the problem:
Set CSS ID to something like my_term_{term_id}
Now in Custom CSS, type %root%[some_html_attr]
This is translated to the final CSS like this:

#my_term_ {
    term_id}

[some_html_attr] {
   /*Code*/
}

Hello @hamidhamidi1022,

I was able to replicate the issue and I’ve added it to the interanl bug tracker. Thanks for the report!

Matej

1 Like