Hello R,
Can you please tell me the version of the QP5.dll component in the Toad folder, the first two numbers only suffice (such as 5.291). Then I can verify what's exactly happening.
The version also appears in the tagline added on top of any formatted code.
I tried your snippet using the latest Toad beta, and results look normal.
Thanks,
Andre