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

Add optional support for lax rendering and parsing #492

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Jan 10, 2023

  1. feat: Add support for lax rendering mode

    In lax rendering mode, an undefined variable will simply be rendered as
    a `nil` value which will ultimately result in an empty string.
    
    In strict rendering mode, an undefined variable will continue to return
    an error.
    RyanAmos committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    0a7e881 View commit details
    Browse the repository at this point in the history
  2. feat: Add support for lax parsing mode

    In lax parsing mode, an undefined filter will simply return an internal
    noop filter. That filter will simply pass along the string to the next
    filter, if one is provided.
    
    In strict parsing mode, an undefined filter will continue to return an
    error.
    RyanAmos committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    89871ec View commit details
    Browse the repository at this point in the history