Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update regex for template functions to not break on different formatting #71

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

stefvanhouten
Copy link
Collaborator

Allow the template parser to match template functions that contain a newline between the condition and the value.
This change allows more convenient formatting on longer statements.

For example the current regex does not match:
image

While the new regex will match:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant