Hello,
Actually, all old format one-line macros are space sensitive, however you can get the query string through the K# as well and there you can format your macro with any number of spaces you want:
{% QueryString.GetValue("ItemNumber") %}
Best regards,
Jan Hermann