Don't treat %= as the start of a string

Closes #2692