sempare / sempare-delphi-template-engine

Sempare Template (scripting) Engine for Delphi allows for flexible dynamic text generation. It can be used for generating email, html, reports, source code, xml, configuration, etc.
Apache License 2.0
144 stars 18 forks source link

Fix valid but empty variables being skipped when dereferencing #108

Closed craigmox closed 1 year ago

craigmox commented 1 year ago

Fix #106

This change fixes my particular problem. I wasn't sure if it would cause problems elsewhere, though.

sempare commented 1 year ago

Unfortunately, this didn't really solve the issue correctly. I've fixed the way data is pushed to sub templates. Please try the new version which is now on the dev branch from PR #110 to confirm it works for you as well.