Hello,
When a template use "Noinclude" tags, the "subst" done with "template.py -assubst" or "template.py -subst" give a bad result. See this example
Is it possible to change the "subst" by "safesubst" ?
With this change the subst won't be applied but the result will be still correct.