Dotliquid version
2.0.298
Expected behavior
The program should throw SyntaxException.
Actual behavior
The program throws ArgumentNullException.
Steps to reproduce the problem
Here is the complete program to reproduce this problem:
namespace DotLiquid.Run
{
public class Program
{
public static void Main(string[] args)
{
Template.Parse("{%if% or%}");
}
}
}
Found via SharpFuzz.