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

Fix regex not working in highlight template #106

Merged
merged 1 commit into from
Nov 15, 2021
Merged

Conversation

hadynz
Copy link
Owner

@hadynz hadynz commented Nov 15, 2021

Template validation was passing in an empty highlights object. This didn't play well when a template was using a regex replace as it expected an initialised {{text}} value to be provided.

@hadynz hadynz merged commit 82e0d66 into master Nov 15, 2021
@hadynz hadynz linked an issue Nov 15, 2021 that may be closed by this pull request
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.

Nunjucks filters in Highlight template throws Template render error
1 participant