Skip to content

Commit 26847c2

Browse files
handle variable length args in tag validation (#351)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 2da341b commit 26847c2

File tree

3 files changed

+620
-27
lines changed

3 files changed

+620
-27
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ and this project attempts to adhere to [Semantic Versioning](https://semver.org/
2626

2727
- TagSpecs v0.4.0 flat format (will be removed in v5.2.7), [migration guide here](docs/tagspecs.md#migration-from-v040)
2828

29+
### Fixed
30+
31+
- Fixed false positive "accepts at most N arguments" errors for expressions with operators (e.g., `{% if x > 0 %}`)
32+
- Fixed false positive errors for quoted strings with spaces (e.g., `{% translate "Contact the owner" %}`)
33+
2934
## [5.2.4]
3035

3136
### Added

0 commit comments

Comments
 (0)