Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pattern for matching filenames to the Liquid lexer (#1351)
The Shopify Liquid parser and the Jekyll Liquid parser treat the argument to the `include` tag differently. Specifically, the Jekyll lexer expects a filepath. The existing Liquid lexer does not properly handle code written for the Jekyll implementation. This commit fixes that by introducing a rule thet matches against slashes, periods and alphanumeric characters.
- Loading branch information