Don't know if this is two separate issues, or even a feature :P
But when using percentage sign inside a variable it's not light blue

But when you have a variable inside an another variable the text after become light blue and floods the rest of the line

