fixed within_quotes feature and made a working templatizer