diff --git a/CHANGES b/CHANGES index 8a3443c0..6e6cddbd 100644 --- a/CHANGES +++ b/CHANGES @@ -12,6 +12,9 @@ Version 3.0.9 - (in development) and replaced them with typing.Optional, typing.Dict, and typing.Iterable throughout.) +- Fixed typo in jinja2 template for railroad diagrams, thanks for the + catch Nioub (issue #388). + Version 3.0.8 - --------------- diff --git a/pyparsing/__init__.py b/pyparsing/__init__.py index 31b397e1..28bdb34f 100644 --- a/pyparsing/__init__.py +++ b/pyparsing/__init__.py @@ -129,7 +129,7 @@ def __repr__(self): __version_info__ = version_info(3, 0, 9, "final", 0) -__version_time__ = "11 Apr 2022 12:52 UTC" +__version_time__ = "22 Apr 2022 12:22 UTC" __version__ = __version_info__.__version__ __versionTime__ = __version_time__ __author__ = "Paul McGuire " diff --git a/pyparsing/diagram/template.jinja2 b/pyparsing/diagram/template.jinja2 index d2219fb0..7d40458e 100644 --- a/pyparsing/diagram/template.jinja2 +++ b/pyparsing/diagram/template.jinja2 @@ -8,7 +8,7 @@ } {% else %} - {{ hear | safe }} + {{ head | safe }} {% endif %}