You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Python: CodeTokenizer splits quoted named-arg values on spaces (NamedArgBlockSyntaxError) #14460
CodeTokenizer splits named-argument quoted values at spaces, so a template like:
{{func key='hello world'}}
fails with NamedArgBlockSyntaxError: A NamedArgBlock starts with a name... — the token for the argument is cut to key='hello and parsing breaks. Any quoted named-arg value containing a space breaks the whole template.
Activity
fix: properly handle spaces in quoted named-arg values