tlc - support for 'inline' templates

For cases where the tlc has embedded <template>'s in it.