﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc
115,[PATCH] The text template language needs a #include,alastair@…,cmlenz,"The text template language needs a {{{#include}}} statement. The XML language gets away without one because it supports XInclude via a filter, but the text templates don't have anything at the moment.

I've attached a simple implementation that gives us a {{{#include}}} statement that works as follows:

{{{
You can include text from other text templates in your output by doing

#include some-other-template.txt

It works in a similar way to the XInclude feature of the XML template language, so you can also do

#include ../foo/bar.txt

and the like.
}}}

The code I've written replaces the entire line the {{{#include}}} is on with the results of generating the other template; there's no way to just include a string in the middle of a line (for example).",enhancement,closed,major,0.5,General,0.4,fixed,,
