A tool to rewrite parts of template files (DTML, ZPT).
The initial use case is to have a pluggable system to convert Python 2 expressions in templates to Python 3.
This package runs on Python 3.6.
For the rewrite to work properly, it is necessary to have this structure
attr="value"
for attributes in tags with no whitespaces around the =
,
as otherwise the values will get lost.
During rewrite double hyphens within HTML-comments are removed as the Chameleon engine in Zope 4 (and the actual specification) is very strict about it.