Skip to content

Allow '{%+' to be valid syntax (but NOP) when lstrip_blocks == False. Fixes #748#1014

Merged
davidism merged 1 commit intopallets:masterfrom
markroth8:mroth/fix/748
Jul 20, 2019
Merged

Allow '{%+' to be valid syntax (but NOP) when lstrip_blocks == False. Fixes #748#1014
davidism merged 1 commit intopallets:masterfrom
markroth8:mroth/fix/748

Conversation

@markroth8
Copy link
Copy Markdown
Contributor

Instead of failing with error message "jinja2.exceptions.TemplateSyntaxError: tag name expected", allow the syntax '{%+' when lstrip_blocks == False with NOP behavior. Fixes #748.

@davidism davidism added this to the 2.11.0 milestone Jul 20, 2019
@davidism davidism merged commit f76c3ed into pallets:master Jul 20, 2019
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot use the plus sign(+) for whitespace control: tag name expected

3 participants